I have declared some words in a array and looped over it such that if that particular word is present in the input sentence it should be splitted with that word accordingly..

```
arr_utility = [' my names',
   'my name is ',
   'name ',
   ' names ']

if any(c in str for c in arr_utility):
      print('\nUtility Identified')
      res = str.split(arr_utility[c])
      print(res[1])
else:
      print('No Utility Found')

```

Input: Hello my name is rahul
Output : rahul

Im getting that the word is present in the input but its not splitting