LEFT$/WLEFT$ |
Top Previous Next |
Syntax STRING = LEFT$(str as STRING,length as INT) WSTRING = WLEFT$(str as WSTRING,length as INT) Description Extracts the first (leftmost) characters of a string and returns a copy of the extracted string. Parameters str - The string to extract characters from. length - Leftmost count of characters to extract. Return value A copy of the extracted substring. Remarks Length can be zero in which case an empty string is returned. Example usage a$ = "The Brown Cow" |