Left
From REALbasicWiki
The Left function returns a prefix of a string.
[edit] Syntax
Function Left(s as String, count as Integer) as String Function Left(extends s as String, count as Integer) as String
Left returns a string created by copying the first n characters as defined by the encoding of s (or the first n bytes, if the encoding is nil).
if count < 1, Left returns the empty string. If count >= Len(s), Left returns a copy of the passed string.
To get the first n bytes of a string, you can use LeftB.
