I have a reference to a string, and I want to pass one character of that string to another function.
Basically, I have something like:
void func1(string *doc)
bool func2(char *chr)
How do I correctly pass (*doc)[i] to func2?