LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Not case sensitive string comparison

Is there any chance that the coparison function below returns true value?

 

0 Kudos
Message 1 of 23
(9,292 Views)

I can not find a way to make it equal without the force to capital.

Tim
GHSP
0 Kudos
Message 2 of 23
(9,285 Views)

If forcing 'To Upper Case' or 'To Lower Case' as Tim suggests isn't good enough, then one option is that Search and Replace string allows case to be ignored when comparing strings.

Checking that there is more than zero 'replacments' and checking that both strings are the same length gives a case insensitive comparison.

0 Kudos
Message 3 of 23
(9,252 Views)
Message 4 of 23
(9,241 Views)

Yeah,

 

I know that is a good idea. One of my colleaqueas built on this 'straight' comparasion a solution and now I have some

problems.

 

What I would need is what Philip presented. Good idea.

Cheers.

0 Kudos
Message 5 of 23
(9,230 Views)

You can do it like this

 

Example_VI.png

Tim
GHSP
0 Kudos
Message 6 of 23
(9,223 Views)

It is exactly what my colleauge did. It doesn't work for me now.

 

Cheers

0 Kudos
Message 7 of 23
(9,205 Views)

 <deleted>

 

EDIT: Hang on... when I started that post it made sense.... now I look at it again I can't remember why it would be any better than just forcing to the same case.... brain freeze Smiley Sad Sorry ignore me!

 

0 Kudos
Message 8 of 23
(9,200 Views)

What are you trying to do?

Tim
GHSP
0 Kudos
Message 9 of 23
(9,199 Views)

Is it possible that one of your strings has a non-printing character?  Look at it with a '\' Codes or Hex Display.

 

Lynn

Message 10 of 23
(9,186 Views)