Hello,
how can i count the number of caracters in alphabetic variable content.
Thank you
count le number of caracters in alphabetic variable content.
-
- Posts: 1793
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: count le number of caracters in alphabetic variable content.
The length function counts the number of characters. If you do not want to count blank spaces at the end of the string, you can add the strip function like this:
errmsg("NAME is %d characters", length(strip(NAME)));