sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #59522
Re: [Question #819182]: Delete blanks
Question #819182 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/819182
Description changed to:
-----------------------------------------------------------
Raw : happy happy
doubleClick()
type('c',Key.CTRL)
box1=Env.getClipboard().strip().encode("utf-8")
print(box1)
box1 : happy happy
-----------------------------------------------------------
I'd like to erase all the blanks of the content 'as marked below' and make them like the letters below.
"Happy happy" -> "Happyhappy"
I've written the code but it doesn't work.
You may have made a mistake in coding to copy the character and then
delete the space in the resulting value.
I'm not sure about the code to delete blanks. Please help.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.