StrLeft
- extracts the leftmost part

String manipulation
(AmiBroker 40)


SYNTAX strleft( STRING, count)
RETURNS STRING
FUNCTION Extracts the first (that is, leftmost) count characters from STRING and returns a copy of the extracted substring. If count exceeds the string length, then the entire string is extracted.
EXAMPLE newstring = strleft( string, 4 );
SEE ALSO

References:

The StrLeft function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.