Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
13 | |||
14 | |||
15 | |||
16 |
|
||
17 |
|
||
18 | |||
19 | The "insertData(offset,arg)" method will insert a string |
||
20 | at the specified character offset. Insert the data in |
||
21 | the middle of the character data. |
||
22 | |||
23 | Retrieve the character data from the second child of |
||
24 | the first employee. The "insertData(offset,arg)" |
||
25 | method is then called with offset=9 and arg="Ann". |
||
26 | The method should insert the string "Ann" at position 9. |
||
27 | The new value of the character data should be |
||
28 | "Margaret Ann Martin". |
||
29 | |||
30 | |||
31 |
|
||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | !DOCTYPE>!-- |