int i = textString.lastIndexOf("target");