"I will only ever use it for a string consisting of just two kinds of characters, so assume it consists of just A's and C's but no B's." . . . .