User:Eriksiers/TrimNonPrintables: Difference between revisions

m
updated lang tag
(created)
 
m (updated lang tag)
 
Line 7:
{{works with|PowerBASIC}}
 
<langsyntaxhighlight lang="qbasic">FUNCTION LTrimNonPrintable$ (what AS STRING)
DIM L0 AS LONG, found AS INTEGER
FOR L0 = 1 TO LEN(what)
Line 45:
FUNCTION TrimNonPrintable$ (what AS STRING)
TrimNonPrintable$ = LTrimNonPrintable$(RTrimNonPrintable$(what))
END FUNCTION</langsyntaxhighlight>
1,150

edits