string trim

TRICK: fast and slow pointer.