Hi for egif string1=ram and string2=RAM.
In string i have to use if string 1 not equal to string 2.
Because of lower case in string 1 and upper case in string 2, it is throwing false if name same also.Can anyone guide expression to achieve this please?
Hi,
Can you try as the following condition?
string1.ToLower=string2.ToLower
Regards,
Hi @vnsatyasunil
Use .tolower or .toupper function in string.
Example: String1.tolower.trim.equals(String1.tolower.trim)
Output is True
Hello @vnsatyasunil
You can convert both the strings to the same case and do a comparison as below.
strVal.ToLower.Equals(strVal2.ToLower)
strVal.ToUpper.Equals(strVal2.ToUpper)
Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.