Comparing strings
(Created page with "If you want to compare two strings, case insensitive, use the follow <string 1>.compare(<string 2>, true) Read more here [https://learn.microsoft.com/en-us/dotnet/api/system....")
 
(Updated Edited template to July 12, 2025.)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
If you want to compare two strings, case insensitive, use the follow
<message>Write the content here to display this box</message>
  <string 1>.compare(<string 2>, true)
If you want to compare two strings, case insensitive, use the following:
Read more here [https://learn.microsoft.com/en-us/dotnet/api/system.string.compare String.Compare method]
  <string 1>.compare(<string 2>, true) = 0
Read more here: [https://learn.microsoft.com/en-us/dotnet/api/system.string.compare String.Compare method]
{{Edited|July|12|2025}}
[[Category:OCL String Operators]]

Latest revision as of 05:47, 20 January 2025

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