move more string methods to one line