General information
Category:
Coding, syntax & commands
>Does vfp have function that will return how many characters are in a field.
>?len(slast) is returning the field length.
>
>Thanks Randy
I'm not 100% sure it work with field of a table, but what you said is the one that you are looking for... The function LEN(cExpression) will return the number of character in the string. If you want with or withouth traling space, until you get a space.. etc, you can put function In the LEN to get what you want : LEN(ALLTRIM("123 ") + ALLTRIM(" 456 ") + STR(789)) will return 9, and so on...
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only