string::trim

[This is preliminary documentation and subject to change.]

Returns the given string trimmed of whitespace.

Usage

string string::trim(s)

Parameters

Name Type Description
s string input string

Return Value

The string s with any leading or trailing white space characters removed.

Examples

Requirements

Assembly: NAnt.Core (0.92.4495.0)