|
CutLeft$ | ||
Result$ = CutLeft$(SourceString$, CutPoint) | ||
Parameters: SourceString$ = The String you wish to grab the characters from CutPoint = The character index to use as the cut point |
||
Returns: Result$ = All the characters to the left of the cut point |
||
Cutleft$ returns the remaining characters after removing all the characters in a source string that on the left hand side (and including) the a nominated cut point. FACTS: * The cut point is inclusive. So if you cut a string that is ten characters long, at character position five, CutLeft$ will chop off characters 1,2,3,4,5 and return characters 6,7,8,9,10 Mini Tutorial:
This example would output.
|
Related Info: | CutRight$ | Left$ | Mid | Mid$ | Right$ | Trim$ | TrimLeft$ | TrimRight$ : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |