strip

strip()

Remove white spaces and new line characters (space, tab, return, line feed) placed at the beginning and the endding.

Result

XText : a new XText instance