Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



The LENDP function returns the display length of an expression. It takes the general form:


Where expression can evaluate to any type. The LENDP function will evaluate each character in the expression and return the calculated display length.


The LENDP function when used in International Mode will return the display length for the characters in the specified expression rather than the number of bytes.

Note that some characters, usually Japanese, Chinese, etc will return a display length of greater than one for some characters. Some characters, for instance control characters or null (char 0), will return a display length of 0.

Go back to jBASE BASIC.

Was this article helpful?