#COMPILE EXE "s14_trim.exe"
' Sample: TRIM$, LTRIM$, RTRIM$ functions
FUNCTION PBMAIN() AS LONG
    DIM s AS STRING
    s = "   Hello World   "
    PRINT "Original: ["; s; "]"
    PRINT "TRIM$: ["; TRIM$(s); "]"
    PRINT "LTRIM$: ["; LTRIM$(s); "]"
    PRINT "RTRIM$: ["; RTRIM$(s); "]"
    FUNCTION = 0
END FUNCTION
