Trimming some strings