Comparing strings
No edit summary
(Adding template at the end of the page)
Line 2: Line 2:
  <string 1>.compare(<string 2>, true) = 0
  <string 1>.compare(<string 2>, true) = 0
Read more here: [https://learn.microsoft.com/en-us/dotnet/api/system.string.compare String.Compare method]
Read more here: [https://learn.microsoft.com/en-us/dotnet/api/system.string.compare String.Compare method]
{{Edited|July|12|2024}}

Revision as of 14:46, 10 February 2024

This page was created by Lars.olofsson@mdriven.net on 2023-03-26. Last edited by Edgar on 2025-01-20.

If you want to compare two strings, case insensitive, use the following:

<string 1>.compare(<string 2>, true) = 0

Read more here: String.Compare method