String.trim()

Signature

String trim(String str)

Domain

action, condition

Description

Returns a copy of the string, with leading and trailing whitespace omitted.

Parameters

NameTypeDescription
strStringA String to be trimmed.

Returns

TypeDescription
StringA copy of the string, with leading and trailing whitespace omitted.