Futurebasic/Language/Reference/len

From Wikibooks, open books for an open world
Jump to navigation Jump to search

LEN[edit | edit source]

Syntax[edit | edit source]

stringLength = LEN(string$|container$$)

Revised (2.0)[edit | edit source]

May 30, 2000 (Release 3)

Description[edit | edit source]

This function returns the number of characters contained in string$ or container$$. In the case of an empty string, zero is returned.

Note: To determine the maximum number of characters that can be put into a string variable, use:

   SIZEOF(stringVar$) - 1

The maximum number of characters allowed in a container is theoretically 2 gigabytes, but is normally limited by available memory.

See Also[edit | edit source]

SIZEOF