03.08.2013, 17:01
let me quote ******
source
Quote:
|
A string in PAWN is just an array of characters, no different to any other array. Strings are NULL terminated, this means they all have the character '\0' (NULL) at the end (ASCII code 0, different to the character '0' which has an ASCII code of 4. If you have the following string: pawn Code: new str[3] = "hi"; It is really 3 cells long - one for the 'h', one for the 'i' and one for the NULL character to signal the fact that the string has finished. |

