StrMid
- extracts part of the string

String manipulation
(AmiBroker 40)


SYNTAX StrMid( STRING, start, count)
RETURNS STRING
FUNCTION Extracts a substring of length count characters from STRING, starting at position start (zero-based). The function returns a copy of the extracted substring.

New in version 5.90 - count parameter can be skipped. If you skip count then a substring starting from start to the end of the string will be returned.

EXAMPLE newstring = strmid( string, 1, 2 );
SEE ALSO

References:

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

More information:

See updated/extended version on-line.