$character = "\\\$character" if $character eq '+'; my $stringToProcess = join($SEP_CHAR, split($character, $string));