Method indexOf(String str, int fromIndex)
Return type: int
Member of: java.lang.String
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 int endToken = s.indexOf("}",startToken);
2 int idx = file.indexOf("/",1);
3 if ( seite.indexOf(" 0 ||
4 return getConnection().substring( 4, connection.indexOf( ":", 4 ) );
5 int index = entry.indexOf("/", 1);
6 if (osName.indexOf("Windows",0)>-1)
7 int idx= urlStr.indexOf("/",8); /* find '/' after initial "http://" */
8 String pathInfo = servletPath.substring(servletPath.indexOf("/",TEMPLATE_LOAD_PROTOCOL.length()));
9 start = record.indexOf("]", start);
10 int end = agent.indexOf(")", start);
11 while ((quotePos = line.indexOf("'", startPos)) > -1) {
12 while ( ( pos = s2.indexOf(" ", start ) ) != -1 )
13 int servletPathIndex = blogURL.indexOf(servletPath, 7);
14 while ((i = s.indexOf("${", k + "}".length())) > -1 && (j = s.indexOf("}", i)) > -1) {
15 i1=s.indexOf("$(",i2);
16 ind = s.indexOf("\n", ind);
17 int to = escapedURI.indexOf("/", from);
18 int index = result.indexOf(" ", length);
19 rechts=(tmp.indexOf("/",links+1)==-1)?tmp.length():
20 while ((loc = html.indexOf("&", loc + 1)) >= 0) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.