separating a string
#2

Well, if you think about how the string hello is made, it's easy just to get a single letter from the string.

For example, the string hello would be like this
pawn Код:
new string[5] = "hello";
/*
string[0] = 'h'
string[1] = 'e'
string[2] = 'l'
string[3] = 'l'
string[4] = 'o'
*/
Could you please give me a example of what it would be used for?
Reply


Messages In This Thread
separating a string - by GPenner - 21.07.2011, 03:15
Re: separating a string - by [HiC]TheKiller - 21.07.2011, 03:22
Re: separating a string - by GPenner - 21.07.2011, 03:27

Forum Jump:


Users browsing this thread: 1 Guest(s)