Trimming whitespaces at the leading of input string