PickBASIC / FlashBASIC

trimb() function

.md

The trimb() function removes trailing spaces from a string.

Syntax

trimb(str.exp)

Parameter(s)

str.exp Specifies the string from which trailing spaces are removed.

Description

Note: This function requires a nondefault $options setting to compile.

Example(s)

Trim trailing spaces (| marks the end)

print trimb("ab   ") : "|"   ;* ab|

See also