Added searchAndreplacedArgumentsInString()