string.trim Function |
The string.trim function removes all leading and trailing whitespace from a given string.
string.trim(expr);
expr | A string expression |
$banner = " Alchemy Example" PRINT $banner; PRINT string.trim($banner);
The above code snippet produces the following output:
Alchemy Example Alchemy Example |