src/main/java/org/jboss/util/Strings.java
/**
    * Return the range from a begining token to an ending token.
    *
    * @param beginToken String to indicate begining of range.
    * @param endToken   String to indicate ending of range.
    * @param string     String to look for range in.
    * @return           (begin index, end index) or <i>null</i>.
    */
Return the range from a begining token to an ending token.
@param beginToken String to indicate begining of range.
@param endToken   String to indicate ending of range.
@param string     String to look for range in.
@return           (begin index, end index) or null.
Return the range from a begining token to an ending token . @param beginToken String to indicate begining of range . @param endToken String to indicate ending of range . @param string String to look for range in . @return ( begin index end index ) or null .
public static Range rangeOf(final String beginToken, final String endToken,
      final String string)
   {
      return rangeOf(beginToken, endToken, string, 0);
   }
public static Range rangeOf ( final String beginToken , final String endToken , final String string ) { return rangeOf ( beginToken , endToken , string , 0 ) ; }
Return the range from a begining token to an ending token.
Return the range from a begining token to an ending token .