Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 17314

Find a char in string and replace new char using x++ in Ax2012

$
0
0
In following example we are find a char i.e "," in string and replace this char with new one char i.e "." . static void FindCharAndRepalce(Args _args) { str a; int pos; ; a = "100,00"; pos = strFind(a, ',',1, strLen(a)); a = strDel(a,pos,1); a = strIns(a,'.',pos); info(strFmt("%1",a)); }...(read more)

Viewing all articles
Browse latest Browse all 17314

Trending Articles



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