I meant how would I find a space and then a letter, and the str would be a variable, but I guess that doesn't really matter, that's just abstraction, and then how would I change that letter. Like if we had a two word string SA='Secret agent' and I wanted to .capitalize() agent.
awesome, thanks. So I have a "not really" related question. I just hate flooding the board. I'm still working on the address book. If the user were to have more than one contact of the same name and they were to search for them, how would I make it possible for them to select which one they wanted? I'll show you the relevant code I have so far.
if query in ab.book:
Interface.result='Query not found.'
'''Show a contact'''
self.contact.grid(row=1, column=3, columnspan=3)
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...