View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-20-2022 , 12:42   Re: Replace in a String that Contains Repeated Chars
Reply With Quote #9

PHP Code:
new szString[] = "models/costume/model1_w.mdl";
    
//Change w to m and w to m
szStringstrlenszString ) - ] = 'm';

//Delete underscore and everything after
szStringstrlenszString ) - ] = EOS
__________________
Bugsy is online now