public List<String> getStringEnclosedIn(String srcStr, String startToken, String endToken) {
        List<StrPosition> resultList = getStringEnclosedInWithDetails(srcStr, startToken, endToken);
        List<String> retList = new ArrayList<String>();
        for (StrPosition sp : resultList) {
            retList.add(sp.str);
        }
        return retList;
    }
public List < String > getStringEnclosedIn ( String srcStr , String startToken , String endToken ) { List < StrPosition > resultList = getStringEnclosedInWithDetails ( srcStr , startToken , endToken ) ; List < String > retList = new ArrayList < String > ( ) ; for ( StrPosition sp : resultList ) { retList . add ( sp . str ) ; } return retList ; }
returns all of discovery that enclosed in specific tokens found in the
source string

@param srcStr
@param startToken
@param endToken
@return