This may be combined with std.mem.trim to form a proper replacement for the now deprecated std.fmt.trimWhitespace().