< Futurebasic < Language < Reference

LEN

Syntax

stringLength = LEN(string$|container$$)

Revised (2.0)

May 30, 2000 (Release 3)

Description

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

SIZEOF

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.