Anonymous user
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>
[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.
|