LJ::trim

LJ::trim — Removes whitespace from left and right side of a string.

Use

LJ::trim(string);

Arguments

  • string. string to be trimmed

Source:

cgi-bin/ljtextutil.pl

Returns:

trimmed string