New question #241480 on Sikuli:
https://answers.launchpad.net/sikuli/+question/241480
Hey there
Sorry if this is woefully basic but i have been unable to find any information
on using substring (or the equivalent function)
I am trying to edit the following string;
dateMeeting = input("Please Enter the Date of the Meeting:","dd/mm/yyyy")
#if a date like 03/10/1990 is entered, i want to edit the dateMeeting variable
so that it no longer starts with "0"
if dateMeeting.substring(0) == 0:
myDate = dateMeeting.substring(1,10)
print myDate
else:
print dateMeeting
essentially need help with editing specific character positions within a string.
Many thanks
Austalia
--
You received this question notification because you are a member of
Sikuli Drivers, which 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