Trim$

Category: Strings

Back to System Functions


Signature

Trim$(text As String)

Returns

String

Description

Removes leading and trailing whitespace from a string.

Example

name$ = Trim$(" LunarBasic ")