I am trying to print certain parts of a string.
I think i need to use indexing like print(string[0:midChar] but its not working
Traceback (most recent call last):
File "C:/Python27/joe", line 6, in <module>
TypeError: slice indices must be integers or None or have an __index__ method