← Back to team overview

sikuli-driver team mailing list archive

[Question #819182]: Delete blanks

 

New question #819182 on SikuliX:
https://answers.launchpad.net/sikuli/+question/819182

-----------------------------------------------------------
Raw : happy       happy


type('a',Key.CTRL)
box1=Env.getClipboard().strip().encode("utf-8")
print(box1)


Result : happy       happy
-----------------------------------------------------------

I want to erase all the blanks in the "Raw" content and make them look like the letters below.
"happy happy" -> "happyhappy"

I wrote the code like below, but it's not working. Please help.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.