Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

<%if var contains ... or <%if var like ...

Quote Reply
<%if var contains ... or <%if var like ...
Hi,

I try to use the tag <%if var contains François%>, but, when var = françois or Francois, it doesn't work. I tried also <%if var like François%>.

Is there a way to not consider the capital letters and the special charactors when we use the operators "contains" or "like"? The option "like" in users search engine works that way (it doesn't consider the capital letters and the special charactors (François = francois)), but the operator "like" in the templates doesn't seem to work that way.

Thank you very much for your help.

François
Subject Author Views Date
Thread <%if var contains ... or <%if var like ... Franco 1970 Aug 18, 2003, 12:20 AM
Thread Re: [Franco] <%if var contains ... or <%if var like ...
Alex 1938 Aug 18, 2003, 2:02 PM
Thread Re: [Alex] <%if var contains ... or <%if var like ...
Franco 1951 Aug 19, 2003, 9:19 AM
Thread Re: [Franco] <%if var contains ... or <%if var like ...
Franco 1923 Aug 19, 2003, 6:41 PM
Thread Re: [Franco] <%if var contains ... or <%if var like ...
pugdog 1916 Aug 21, 2003, 8:31 AM
Thread Re: [pugdog] <%if var contains ... or <%if var like ...
Franco 1900 Aug 21, 2003, 8:46 AM
Thread Re: [Franco] <%if var contains ... or <%if var like ...
Jagerman 1903 Aug 21, 2003, 1:40 PM
Thread Re: [Jagerman] <%if var contains ... or <%if var like ...
Jagerman 1896 Aug 21, 2003, 1:51 PM
Post Re: [Jagerman] <%if var contains ... or <%if var like ...
Franco 1874 Aug 21, 2003, 9:18 PM