string-trim

string-trim is a compiled Lisp function in `subr-x.el'.

(string-trim STRING)

Remove leading and trailing whitespace from STRING.