Since the hexadecimal value 75 refers to u. And the index of u in the string is 15. Therefore the program has produced 15 as output.
Note: The search() is used to search a substring (value) in a string using regular expression.
« Previous Tutorial Next Tutorial »
Like/Share Us on Facebook 😋