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....")
 
m ((username removed) (log details removed))
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
If you want to compare two strings, case insensitive, use the follow
If you want to compare two strings, case insensitive, use the following:
  <string 1>.compare(<string 2>, true)
  <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}}
[[Category:OCL String Operators]]

Revision as of 05:29, 15 March 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

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments