Using substring to edit individual characters
Asked by
Nomis Carr
Hey there (using Sikuli r930 and Windows Vista 32 bit.)
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:
#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.
myDate = dateMeeting.
print myDate
else:
print dateMeeting
essentially need help with editing specific character positions within a string.
Many thanks
Australia
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- obiwan-92
- Solved:
- Last query:
- Last reply:
This question was reopened
- by Nomis Carr
To post a message you must log in.