Axapta, d365 finance and operations
Ax 2012, d365fo
Wednesday, 21 February 2018
get numerical from the string
Get numerical from the string
gstStr = subStr(this.RegistrationNumber,1,2);
if(strlen(gstStr) != strlen(strkeep(gstStr,'1234567890')))
{
ret = checkFailed("First two digists should be numericals");
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment