Method insert(int offset, char c)
Return type: java.lang.StringBuffer
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 buf.insert(i, '\\');
2 paddedString.insert(0, '0');
3 paddedString.insert(0, '0');
4 sb.insert(0, ' ');
5 buff.insert(0, '"');
6 buf.insert(0, '&');
7 sb.insert(0, ' ');
8 sb.insert(0, '"');
9 sb.insert(0, '"');
10 cppBuff.insert(0, '/');
11 m_ParsedQuery.insert(0, '{');
12 buf.insert(len1, '0');
13 newFrom.insert(6, '('); // _FROM ...
14 s.insert(len-3, '.');
15 buff.insert(bufIndex, '-');
16 newString.insert(i,SINGLE_QUOTE);
17 sb.insert(i, (char) ns[ofs+ i]);
18 buffer.insert(buffer.length() - (count - lastspace)+1,LF);
19 .insert(pos,control.charAt(++i)).toString();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.