Len

From REALbasicWiki

Jump to: navigation, search

The Len function returns the number of characters in a string.

[edit] Syntax

Function Len(s as String) as Integer

if s has nil encoding, Len returns the length of the string in bytes. The function LenB returns the byte-length of a string, ignoring its encoding.

Personal tools
related