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.