Go strings.TrimSpace() Online

Trim leading and trailing whitespace or chosen characters. Automatic submit runs on each keystroke and paste.

Viewer Index · Tools Index · Go Functions · Auto-run on input
Ready.

Details