sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16901
[Question #223404]: need to change the case of some text
New question #223404 on Sikuli:
https://answers.launchpad.net/sikuli/+question/223404
this is probably motr of a python issue but im hoping someone has a solution for me
ive got lists of data
one line that is the full name
Eg. name:John Doe
and the line below is a the user ID
Eg. userID:jdoe
i want my user ids to take the capitalization from the name string.
i only get one user per userID but some names have them in a different style so the types of userID's i can possible get are like:
userID:jdoe
userID:johndoe
userID:jdoe02
userID:johndoe02
since the fullname has a capital J and a capital D i need to find a way to make those chars capital in which ever user ID i capture
so they would look like:
userID:JDoe
userID:JohnDoe
userID:JDoe02
userID:JohnDoe02
im a complete newb at sikuli and python etc. but if i could find a way to mix the case the userID info i copy to the clipboard it could really help with the workflow im trying to automate
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.