
5.5.14.1. Left Function
Left Function
Returns a substring that starts at the beginning of the string.
Syntax
string Left(string, nchar)
Parameters
Parameter Type Description
string string String parameter.
nchar number Number of characters in the substring.
Returns
Returns a substring that starts at the beginning of the string.
Comments
None
Usage
NexScript
sub = Left("abcdefg", 3)
% sub now is "abc"
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 305
Kommentare zu diesen Handbüchern