| NAnt  Help  Function Reference  string::ends-with | v0.92-rc1 | 
[This is preliminary documentation and subject to change.]
Tests whether the specified string ends with the specified suffix string.
bool string::ends-with(s1, s2)
            
    
    | Name | Type | Description | 
|---|---|---|
| s1 | string | test string | 
| s2 | string | suffix string | 
string::ends-with('testing string', 'string') ==> truestring::ends-with('testing string', '') ==> truestring::ends-with('testing string', 'bring') ==> falsestring::ends-with('string', 'testing string') ==> false