I try to do this:
but its not working. \"mystring\" is an object on
You can replace all spaces by blank by using replace():
replace()
.replace(" ","")