I\'m sorry but I don\'t see the use of tokenize. Also $$1 is not necessary: if ($strip($1) == !add) works fine.