len Function

Function:

Returns the length of (number of characters in) the string sourcestr.

Syntax:

len(byref sourcestr as string) as byte

See Also:

---


Part

Description

sourcestr

String whose length needs to be calculated.


Examples

Tibbo BASIC
x = len("ABC") ' result will be 3

len Function

Examples