strip string in config parameter.