Josephine Sim

Square Brackets

Discussion created by Josephine Sim on Mar 18, 2009
Latest reply on Mar 18, 2009 by Spar

Hi,

 

I have problem trying to compare a string which contains square brackets or "<" or ">" using contains match. Do I need to have some escape character or something?

 

Examples:

if (strVariable contains match (ignoring case) "Hello [World]")

     //Do something

 

if (strVariable contains match (ignoring case) "Hello <There>")

     //Do something

 

Thanks.

 

Outcomes