Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Count number of letters in string var?

$
0
0

Martin kind of answered that above, but you could do like this:

static void commas(Args _args)
{
    str stringWithCommas = 'Here, is a string with commas (,)';

    info (strFmt("The string has %1 commas", strLen(strKeep(stringWithCommas, ','))));
}



Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>