Thread
:
[Ask] String[] ?
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
03-15-2014 , 03:05 Re: [Ask] String[] ?
#
17
Quote:
Originally Posted by
dias
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.
__________________
Polymorph
,
GitHub
Last edited by fysiks; 03-15-2014 at
03:05
.
fysiks
View Public Profile
Send a private message to fysiks
Find More Posts by fysiks