AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   replace 1 letter (https://forums.alliedmods.net/showthread.php?t=226152)

daniel46 09-14-2013 07:59

replace 1 letter
 
what is the function to replace 1 char i know only replace_all

thanks for the helpers

dark_style 09-14-2013 08:05

Re: replace 1 letter
 
http://forums.alliedmods.net/showthread.php?t=194839

daniel46 09-14-2013 11:50

Re: replace 1 letter
 
its replace all i want to replace only 1 letter...

if i have in some string 20 a's i want to change only 1 a to some other letter and all others will stay

<VeCo> 09-14-2013 11:55

Re: replace 1 letter
 
Break the loop after you have replaced one character.


All times are GMT -4. The time now is 18:46.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.