They syntax phrase[1000].function_call() is only valid if the variable phrase[1000] is an object of a function. phrase[1000] is of type char and phrase itself is of type char* which are primitive data types which are certainly not classes.
I think the root of your problem is you've confused strings and cstrings. begin() and end() are functions of the class string.