NAnt SDK Documentation - v0.92 |

# StringFunctions.ToLower Method

Returns the specified string converted to lowercase.

[Visual Basic]
<Function(Name:="to-lower")>
Public Shared Function ToLower( _
ByVal s As String _
) As String
[C#]
[Function(Name="to-lower")]
public static string ToLower(
string s
);

#### Parameters

s
  input string

#### Return Value

The string s in lowercase.

#### Remarks

The casing rules of the invariant culture are used to convert the s to lowercase.

#### Example

    string::to-lower('testing string') ==> 'testing string'

    string::to-lower('Testing String') ==> 'testing string'

    string::to-lower('Test 123') ==> 'test 123'

#### See Also

StringFunctions Class | NAnt.Core.Functions Namespace