Question #629256 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/629256

    Status: Open => Answered

RaiMan proposed the following answer:
someText = Env.getClipboard().strip()

the function strip removes whitespace characters on both ends of the
string.

there are also lstrip() (left side only - begin) and rstrip() (right
side only - end)

BTW: this is Python knowledge ;-)

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to