As said in comments, you don't have to create your own function since indexOf / allMatches / contains are quiet enough for most of case.
And there is no charAt() equivalent since String act as a list of characters. You can use the [] operator to get a letter at a specific index:
'Hello World'[6] //return 'W'