<>;Text> <>;Manipulation>
Command : |
|
|
*<>;REPLACE> -[<>;s> | <>;l> | <>;e>]<<>;delim>><<>;occur>> <>;str1> <>;str2> |
<>;This> <>;function> <>;replaces> <>;str1> <>;with> <>;str2>. <>;Both> <>;strings> <>;must> <>;be> <>;delimited>,
<>;the> <>;default> <>;char> <>;being> ' <>;The> <>;search> <>;operates> <>;within> <>;a> <>;line> <>;and> <>;does>
<>;not> <>;resize> <>;it>, <>;this> <>;must> <>;be> <>;done> <>;manually> <>;using> *<>;wrap>.
<>;You> <>;must> <>;specify> <>;short> <>;long> <>;or> <>;event> <>;text>, <>;and> <>;if> <>;an> <>;occurence> <>;is> <>;given>
<>;it> <>;will> <>;skip> <>;to> <>;replace> <>;the> <>;nth> <>;entry> <>;as> <>;requested> <>;if> <>;found>. <>;The> <>;delimiter>
<>;can> <>;be> <>;any> <>;standard> <>;punctuation> <>;character>.
Examples :
: *<>;replace> -<>;s2> '<>;from>' '<>;form>'
<>;changes> <>;the> <>;second> <>;occurence> <>;of> <>;from> <>;to> <>;from> <>;in> <>;the> <>;short> <>;desc>.
: *<>;replace> -<>;l> '<>;give> <>;out>' '<>;take> <>;in>'
<>;changes> <>;the> <>;first> <>;text> <>;with> <>;a> <>;space> <>;in> <>;it> <>;to> <>;a> <>;second> <>;similar> <>;text>.
: *<>;replace> -<>;l>"<>;3> "<>;doesn>'<>;t> <>;give>" "<>;does> <>;not> <>;offer>"
<>;changes> <>;the> <>;first> <>;text> <>;with> <>;a> ' <>;in> <>;it> <>;to> <>;a> <>;second> <>;different> <>;text>
|