Sfairadora

  • Reference Guide

prefix

prefix(str, n)
Returns the first n characters from the beginning of the string str. If n exceeds the length of the string or is negative, the entire string is returned. The type of str is Binary, String, Text or Rich_string. The return value is of the same type as str.

See Also