-
Notifications
You must be signed in to change notification settings - Fork 12
String.TrimStart
boxgaming edited this page Aug 5, 2025
·
3 revisions
Removes whitespace from the beginning of this string and returns a new string, without modifying the original string.
result$ = String.TrimStart (s$)
- The s$ parameter contains the string to trim.
Import String From "lib/lang/string.bas"
Print String.TrimStart(" Why was this padded? "); "|"
Print String.TrimEnd(" Only trim the end "); "|"Why was this padded? |
Only trim the end|