removing letter from begining of string
lets say
szstring[32] = "I Love Apples" how can i remove the first 2 characters in that string and make it become szstring[32] = "Love Apples" i know this is a poor examples i just need to learn how to remove the first to characters in a string |
Re: removing letter from begining of string
Code:
To remove it, I'm not positive but maybe. Code:
Code:
|
Re: removing letter from begining of string
Quote:
to actually remove it from the string format( szstring, 32, "%s" , szstring[2]) |
Re: removing letter from begining of string
ok now im using a for loop and all is there a way i can do a for loop and after every loop it will wait .5 seconds or something before doing another loop?
|
Re: removing letter from begining of string
Quote:
PHP Code:
PHP Code:
PHP Code:
|
Re: removing letter from begining of string
Quote:
|
Re: removing letter from begining of string
Quote:
To start your for-loop, do this PHP Code:
PHP Code:
|
Re: removing letter from begining of string
copy( some_new_variable, some_new_variables_len, szstring[2] )
|
Re: removing letter from begining of string
Quote:
|
Re: removing letter from begining of string
this is what i have and i hope u can make it so that every 5 seconds it will remove the first letter cause im limited to a certain amount of text in status text so i want it to be nice and smooth like its scrolling if needed u can remove 5 at a time what ever u prefer
Code:
new iLen = strlen( szString ); didnt do any changes yet hoping u can do it for me thanks alot |
| All times are GMT -4. The time now is 01:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.