sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #49827
Re: [Question #676937]: delete a specific character
Question #676937 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676937
Status: Open => Answered
RaiMan proposed the following answer:
tested on Mac. this works for me:
t = u"英博英博英博英博"
x = u"英"
uprint(t)
uprint(x)
uprint(t.replace(x, ""))
App.open("textedit")
wait(1)
paste("paste:\n")
paste(t.replace(x, ""))
print out:
英博英博英博英博
英
博博博博
pasted:
paste:
博博博博
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.