InterviewSolution
Saved Bookmarks
| 1. |
Set Ip Address As 10.30.20.1 Write A Script To Replace The 30 With 40? |
|
Answer» here you can do this in multiple WAYS: regsub 30 $data 40 a puts $a this will give you the REPLACED STRING. string REPLACE $data 3 4 40 this ALSO will give you the replaced. here you can do this in multiple ways: regsub 30 $data 40 a puts $a this will give you the replaced string. string replace $data 3 4 40 this also will give you the replaced. |
|