someone please tell me what does the replace function returns.
also please tell me how can i replace multiple occurances of any sub-string in any give string ( i dont know the no. of occurances of the sub-string beforehand ) because replace() replaces only 1st occurance.