returns TRIM$ returns a string value without leading or trailing spaces
TRIM$(StrExpr, [Mode%=0,1])
Arguments
returns StrExpr returns a string value. "NullString" is considered as a DETERMINED empty string. TRIM$ returns a string value without leading or trailing spaces.
is Mode% is the option of the TRIM$ function.
TRIM$("
Qnowledge
", 0)
returns
"
Qnowledge
")
The string is surrounded by CrLf, so the spaces are not trimmed forfor Mode%=0
TRIM$("
Qnowledge
", 1)
returns
"Qnowledge"returns
The string is surrounded by CrLf, spaces and CrLf are trimmed for Mode%=1
Quick links: TRIM$ Functions overview | Attribute overview | Constants overview | Dimensions overview