3. String delimiter = "|"; temp = searchKey.

split(delimiter); String oid=temp[0]; String parentOid=temp[1];

2. int j=searchKey.indexOf("|"); String oid=searchKey.substring(0, j); String parentOid=searchKey.substring(j+1); 1. String shell = null; String af = null; String emall =null; String pageName =null; String channelName = null; StringTokenizer st = new StringTokenizer(url.toString(),"/"); if (st.hasMoreTokens()) { shell = st.nextToken(); af = st.nextToken(); emall = st.nextToken(); pageName = st.nextToken(); channelName = st.nextToken(); }

Sign up to vote on this title
UsefulNot useful