needed string trimming