Build a condition to match a string that ends in a SPACE? (E.g Starts with "Telstra ")

howard8
Tera Contributor

Hi,

 

I have just notice that the condition builder in servicenow trims spaces off the end of strings that you enter and I don't know how to get around it.   see the 3 example records below:

 

Telstra Bigpond

Telstra Elite Gateway

TelStrat InternationalTelstra Elite Gateway

 

I want my condition builder to allow be to say anything that starts with "Telstra ", which would eliminate the 3rd record.   However when I enter this, it gets trimmed back to "Telstra" and therefore includes the last record.  

 

Does anyone know of a way around this? I tried "Telstra%20" but that didn't work.

 

Any help help would be appreciated.

 

Howard Elton

1 ACCEPTED SOLUTION

Try:


Name <startswith> javascript:"Telstra "


🙂


View solution in original post

6 REPLIES 6

The Machine
Kilo Sage

Possibly try Telstra* as a wildcard?


Thanks Michael but the condition build does not support wildcards. Other wise I would use 'Telstra *'



Thanks


Howard


&nbsp ?   I'm not really sure. When I use the condition filters it sees the space?


Try:


Name <startswith> javascript:"Telstra "


🙂