Method substring(int start, int end)
Return type:
java.lang.String
Member of:
java.lang.StringBuffer
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
String retStr = buff.substring(0, ret);
2
description = new StringBuffer(description.substring(0,254));
3
P6LogQuery.log("resultset", query, buffer.substring(0, buffer.length() - 2).toString());
4
flushLine (buffer.substring (0, end));
5
org.apache.tools.ant.types.Path systemClasspath= new org.apache.tools.ant.types.Path(null, buff.substring(0, buff.length() - 2));
6
pt.put(PropertyNames.WORKFLOW_TASK_UIDS, sb.substring(0, n-1));
7
points.substring(0, points.length() - 1));
8
String presentPart= prefix.substring(0, currentPrefixLen);
9
return blob.substring((int) pos, (int) (pos + length)).getBytes();
10
ADialog.error(m_WindowNo, this, "FillMandatory", sb.substring(0, sb.length()-2));
11
if (orig.substring(i, i + o.length()).equals(o)) {
12
offset+" not found. String starting at this location is "+buf.substring(showStart,showEnd));
13
proxyPort = proxyUrl.substring(pos+1,proxyUrl.length());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.