Raised This Month: $ Target: $400
 0% 

Solved Replace in a String that Contains Repeated Chars


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-24-2022 , 12:13   Re: Replace in a String that Contains Repeated Chars
Reply With Quote #1

What is the total length of the string and size of the szCos variable?

Also, you may be better off hard-coding all of this information instead of swapping characters (see my example above). We aren't using computers from the 1970's anymore where memory is a limitation.
__________________

Last edited by Bugsy; 07-24-2022 at 12:14.
Bugsy is offline
asdian
Member
Join Date: Sep 2016
Location: Indonesia
Old 07-24-2022 , 16:06   Re: Replace in a String that Contains Repeated Chars
Reply With Quote #2

Quote:
Originally Posted by Bugsy View Post
What is the total length of the string and size of the szCos variable?

Also, you may be better off hard-coding all of this information instead of swapping characters (see my example above). We aren't using computers from the 1970's anymore where memory is a limitation.
it is already correct, just my .ini file that is wrong. somehow if it is only contains semicolon it won't skip
asdian is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:19.


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