trim

Last update: 2023-01-23
  • Created for:
  • Experienced
    Developer

Removes start and end spaces.

Category

String

Function syntax

trim(<parameters>)

Parameter

Parameter Type
string string

Signature and returned type

trim(<string>)

Return a string.

Example

trim(" Hello ")

Returns “Hello”.

On this page