Raised This Month: $ Target: $400
 0% 

removing letter from begining of string


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Drak
Veteran Member
Join Date: Jul 2005
Old 01-21-2009 , 21:43   Re: removing letter from begining of string
Reply With Quote #1

Code:
client_print(id,print_chat,"String: %s",szstring[0]);
Would actually print "Love Apples".

To remove it, I'm not positive but maybe.
Code:
 sztring[0] = "" // This might actually set the whole string to nothing or string[0] &= ""
or (probably not a good way)
Code:
format(sztring,31,"%s",szstring[0]);
__________________
Oh yeah

Last edited by Drak; 01-21-2009 at 21:46.
Drak is offline
Send a message via MSN to Drak
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 01:41.


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