String a = "abc";
int pos = a.indexOf( "b" );