PickBASIC / FlashBASIC

trimf() function

.md

The trimf() function removes leading spaces from a string.

Syntax

trimf(str.exp)

Parameter(s)

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

Description

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

Example(s)

Trim leading spaces (| marks the start)

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

See also