Given a string s, remove all space characters (' ') from it and return the resulting string.
Only ASCII space characters (U+0020) should be removed. Tabs, newlines, and other whitespace are NOT considered spaces for this problem.
Input: A single string s.
Output: The string with all space characters removed.
Input: hello world
Output: helloworld
Explanation: The single space between 'hello' and 'world' is removed.Input: both sides
Output: bothsides
Explanation: Leading and trailing spaces as well as inner spaces are all removed.Input: nospace
Output: nospace
Explanation: No spaces present; the string is returned unchanged.0 <= s.length <= 10^5s consists of printable ASCII characters