[4.2] Suport Str : minor tweak

words : no need to used 2 separate conditions
snake : `$replace` does not need to be set that early
Fair point. lol