Raised This Month: $ Target: $400
 0% 

[ Solved ] with code that change 1 letter


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-18-2014 , 06:44   Re: Help with code that change 1 letter
Reply With Quote #1

  • A string declared with only one cell will never work. A 1 character string requires 2 cells. Also, you would need to use the %c instead of %s.
  • You potentially have an infinite loop.
  • Simply use a for loop to loop through all the characters and put replace_all() in the loop for each character.
__________________

Last edited by fysiks; 06-18-2014 at 06:46.
fysiks 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 21:14.


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