parse a line
Hi ,
In one of my file it is like name power level Now I have put into one array. So now I have taken the string from that array like ArrayGetString(g_sNames,i,sBuffer,63) So sBuffer = name power level Now I need to put the name into one variable, power into another and level into another. Can anybody please help me on that? |
Re: parse a line
|
Re: parse a line
Code:
parse(sBuffer,name,33,day,5,month,5,year,5) array must be index Any help? |
Re: parse a line
How did you declare your variables ?
|
Re: parse a line
Just remember that the name cannot have any spaces or other characters that make parse() think the argumenet has ended. If it has any of these characters you need to put the entry in quotes.
|
Re: parse a line
Solved :oops:
Thanks drekes and fysiks |
| All times are GMT -4. The time now is 11:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.