AnsweredAssumed Answered

using wildcard characters in a script

Question asked by RachelJacobsen on Sep 2, 2013
Latest reply on Sep 3, 2013 by RachelJacobsen

Title

using wildcard characters in a script

Post

     Hi 

     I have a very simple script that I'd like to run which would bring up text on a form depending whether or not a title has the word 'District' in it. If the title has the word 'District' anywhere in it, the text "District Office" would appear, otherwise the text "County Office" appears.

     This is the script I wrote.

     If ((State::OfficeName) = "District"; "District Office"; "County Office" )

     It's not working. Since "district" can appear anywhere in the title, I tried using the wildcard character in the script but I received lots of errors with it.

     Help :)

      

Outcomes