|
|
| CutRight$ | ||
| Result$ = CutRight$(SourceString$, CutPoint) | ||
| Parameters: SourceString$ = The String 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 |
||
CutRight$ returns the remaining characters after removing the characters in a source string, that on the right hand side (and including) the a nominated cut point. FACTS: * The cut point is inclusive. So if you cut a string that's ten characters long, at character position five, CutRight$ will chop off characters 5,6,7,8,9,10 and return characters 1,2,3,4 Mini Tutorial:
This example would output.
|
| Related Info: | CutLeft$ | Left$ | Mid | Mid$ | Right$ | Trim$ | TrimLeft$ | TrimRight$ : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |