title: indexOf on CharSequence implementations that support it
body: <p>In my program I use a lot of Strings and StringBuilders. I would like to get rid of the StringBuilder toString() method and use CharSequences throughout. However I need access to the indexOf method (which is available in both StringBuilder and String but not in other implementations). How might I implement an interface that will make this function visible?</p>