Jump to content

String comparison: Difference between revisions

→‎{{header|F_Sharp|F#}}: fixed function name in text
(Added F# version)
(→‎{{header|F_Sharp|F#}}: fixed function name in text)
Line 246:
As a .NET language F# can make use of the [http://msdn.microsoft.com/en-us/library/system.string System.String] class.
As strict strongly typed language F# never coerces any other type to string.
<tt>System.String</tt> implements <tt>CompareToCompare</tt> function variants which are told by a
[http://msdn.microsoft.com/en-us/library/system.stringcomparison StringComparison] enumeration value how to compare, which might be "culture sensitive" or use an "ordinal comparison".
Both of these might also be of the <tt>IgnoreCase</tt> variant.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.