next up previous contents index
Next: Regular expressions Up: Search and substitution Previous: msearch

global_replace

   int global_replace(char * str1, char * str2)

Searches for and replaces str1 by str2 in the next characters and returns the number of substitutions . The current position is not modified.



Lionel Fournigault
Fri Nov 6 17:00:30 MET 1998