what does replace() funtion returns
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. |
replace() always returns 0. And are you sure that it will replace only the first occurance? Perhaps you could do this:
Code:
|
thanks
ya this will surely work.
thanks |
| All times are GMT -4. The time now is 19:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.