python grab first 10 characters from string code example
Example 1: python get first character of string
string = 'This is a string'
print(string[0])
#output: 'T'
Example 2: find first instance of character in string python
mystring.findfirstindex('dude') # should return 4