Method charAt(int index)
Return type: char
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
result.setCharAt(0, Character.toUpperCase(result.charAt(0)));
2
while ((sb.length()>0) && (Character.isWhitespace(sb.charAt(0)))){
3
while ((sb.length()>0) && (Character.isWhitespace(sb.charAt(sb.length()-1)))){
4
char c = Character.toUpperCase(b.charAt(0));
5
sb.setCharAt(0, Character.toUpperCase(sb.charAt(0)));
6
workString.setCharAt(0, Character.toUpperCase(workString.charAt(0)) );
7
char c = Character.toUpperCase(key.charAt(0));
8
if(sb.length()>1 && sb.charAt(0) == '_') sb.deleteCharAt(0);
9
if(sb.length() > 3 && sb.charAt(0) == '.' && sb.charAt(1) == '.'
10
if (cppBuff.charAt(0) != '/') {
11
c = sb.charAt(3);
12
if (buf.charAt(--len) != ' ')
13
if (buffer.charAt(pos) == '/' || buffer.charAt(pos) == '\\') {
14
if (newString.charAt(i) == SINGLE_QUOTE)
15
|| buffer.charAt(buffer.length() - 1) != '/') {
16
char c1 = buf.charAt(i);
17
if (temp.charAt(i) == 10) {
18
while (end > 0 && Character.isWhitespace(textBuffer.charAt(end - 1))) {
19
if (packageToken.charAt(i) != buf.charAt(first))
20
if ( !Character.isLetter(reducedText.charAt(i)) &&
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.