View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-15-2014 , 03:05   Re: [Ask] String[] ?
Reply With Quote #17

Quote:
Originally Posted by dias View Post
PHP Code:
new StringB[] = "String"
// same as
new StringA[6
NO!!!! You need 7 cells to store a string with 6 characters. You have to account for the null character.
__________________

Last edited by fysiks; 03-15-2014 at 03:05.
fysiks is offline