Try to replace...
I try to replace . with _ in a string.
But i dont know what i do wrong. Hope any can help me with this. I use the stock from Exolent http://forums.alliedmods.net/showthread.php?t=163205. PHP Code:
|
Re: Try to replace...
Did you even try the most basic function yet? You should try the simplest functions first. replace_all() should work fine.
|
Re: Try to replace...
I don't think you should even use "_" but just simply type _ and .
|
Re: Try to replace...
Quote:
PHP Code:
PHP Code:
|
Re: Try to replace...
Thx again Bugsy,
think i ask more next time... try to code my first bigger plugin. It work. But you know why the str_replace not work? |
Re: Try to replace...
Quote:
|
Re: Try to replace...
Quote:
|
Re: Try to replace...
Quote:
Code:
/* Replaces a contained string iteratively. |
Re: Try to replace...
Quote:
|
Re: Try to replace...
Quote:
|
| All times are GMT -4. The time now is 08:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.