I have made an dialog wich i have alots of vars

I want to get
if ($strip($2) == %triggertwo.1)

into somthing like this
if ($strip( $+ %stripnr $+ ) == %triggertwo.1)

anyone got an idea how to do this??