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 "replaceData(offset,count,arg)" method replaces the |
||
20 | characters starting at the specified offset with the |
||
21 | specified string. Test the situation where the length |
||
22 | of the arg string is greater than the specified offset. |
||
23 | |||
24 | Retrieve the character data from the last child of the |
||
25 | first employee. The "replaceData(offset,count,arg)" |
||
26 | method is then called with offset=0 and count=4 and |
||
27 | arg="260030". The method should replace characters one |
||
28 | thru four with "260030". Note that the length of the |
||
29 | specified string is greater that the specified offset. |
||
30 | |||
31 | |||
32 |
|
||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | !DOCTYPE>!-- |