Tuesday, July 26, 2011

Get the length of a string in x++

str _myString = '123456789';
int _len;
;

len = strlen(myString);

info(strfmt('%1', len);

returns 9

No comments:

Post a Comment

Thank you for your thoughts. Your comment will appear in my blog shortly after review.

Have a great day!