Reply To: regexp to search a string

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf regexp to search a string Reply To: regexp to search a string

#58236
Charlie Bursell
Participant

    Better still:

    set val “”; regexp -nocase {(TBA|AOP)) $str val

    If either value is there, val is set to the value, else val is the empty string