Skip to content

Trim

Yarado offers three options to remove leading or trailing spaces from a body of text.

Trim All

Trim both leading and trailing spaces from a body of text. For example, " this is a test " will return "this is a test". In multi-line text, only the first leading and last trailing spaces will be trimmed.

Trim Left

Trim leading spaces from a body of text. For example, " this is a test " will return "this is a test ". This function does not support multi-line text.

Trim Right

Trim trailing spaces from a body of text. For example, " this is a test " will return " this is a test". This function does not support multi-line text.

Trim

Example of the Trim function.