Summary
Returns the specified string converted to lowercase.
Syntax
[Function("to-lower")]
public static string ToLower(string s)
Examples
string::to-lower('testing string') ==> 'testing string'
string::to-lower('Testing String') ==> 'testing string'
string::to-lower('Test 123') ==> 'test 123'
The casing rules of the invariant culture are used to convert the
s to lowercase.
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
s |
string |
input string |
Return Value
Type |
Description |
string |
The string s in lowercase.
|