[String->Equals] compares the string parameter against the string object, and returns True if they are equivalent, else False. This method performs exactly the same comparison as the == symbol. This method does not take the case of the strings into account when comparing them unless the optional -Case parameter is used.
'String Object'->equals('String Pattern')
'String Object'->equals('String Pattern', -case)
Use the [String->Equals] method. The following example compares the string object to the first parameter of [String->Equals]. True is returned since the two strings have the same value.
Code
'Quick rhino'->equals('Quick rhino')
Result
true
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments