# string::trim-start

[This is preliminary documentation and subject to change.]

Returns the given string trimmed of leading whitespace.

### Usage

`string string::trim-start(s)`

### Parameters

Name | Type | Description
--- | --- | ---
s | string | input string

### Return Value

The string s with any leading whites pace characters removed.

### Examples

-     string::trim-start('  test  ') ==> 'test  '

-     string::trim-start('\t\tfoo  \r\n') ==> 'foo  \r\n'

### Requirements

Assembly: NAnt.Core (0.91.3881.0)