I have a list:
symbol_list = ['/', '.', '\"', '-']
and a changing string which currently contains:
string = 'This is a string/ of "text"'
and I'm trying to find the most efficient way to return the index value where the first match from the list is made in the string. e.g. index value is 16
in above example.
Any advice please?