Method indexOf(String str)
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
return (path.indexOf(".gif") > -1)
2
if (url.indexOf("http://") == 0) return true;
3
protected boolean hasKeyPath() { return _localRelationshipKey().indexOf(".") != -1; }
4
return this.currentProjectFileName.substring(0,this.currentProjectFileName.indexOf(".xsl"))+"_Preview.xml";
5
return this.currentProjectFileName.substring(0,this.currentProjectFileName.indexOf(".xsl"))+".fo";
6
return os.toLowerCase().indexOf("windows") != -1;
7
return agent.indexOf("konqueror") >= 0;
8
return getDestinationFile().indexOf( "{0}" ) != -1;
9
return encoding != null && encoding.indexOf( "gzip" ) >= 0;
10
return (arch.indexOf("i386") >= 0 || // NOI18N
11
(browserEncodings.indexOf("gzip") != -1));
12
if (s.startsWith("entry") && s.indexOf("/") > -1)
13
while(sb.toString().indexOf("&")!=-1) sb.deleteCharAt(sb.toString().indexOf("&"));
14
int idx = qname.indexOf(":");
15
e.name().indexOf ("_") > -1);
16
if ( urlStr.startsWith( "/" ) || urlStr.indexOf( ":/" ) != -1 )
17
return httpAccept.indexOf(key) != -1 || httpAccept.indexOf("*/*") != -1;
18
if (m.indexOf("findByPrimaryKey")>0) {
19
int idx = str.indexOf("%FDF-1.2");
20
if (key.toLowerCase().indexOf("password") > -1) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.