27.11.2010, 20:00
You're correct in your presumption.
Example code:
(I'm not quite sure if the first one has to be 2 or 1, you would need to try)
I hope this helped you.
Example code:
pawn Код:
new chararray[50]="I like toast";
printf("%s",chararray[2]); //Gives output 'like toast'
printf("%s",chararray[sizeof("I like ")]); //Gives output 'toast'
I hope this helped you.