trim

fnIStr trim(IStr str) @safe nothrow @nogc

Removes whitespace characters from both the beginning and end of the string.