Hi,
I'll try to help.
>>what does the .split and the .length do after the variables?
.split is a String class method, it returns an array of string such
that each array entry contians the section of the original string
delimited by the split pattern.
e.g.
String str1 = "AAAAAA BB CCCC";
String[] strary;
strary = str1.split(" ");
this results as:
strary[0] = "AAAAAA"
strary[1] = "BB"
Strary[2] = "CCCC"
String.length is another String class method that returns the length
of the string, it returns an integer value of number of characters in
the string.
To use the Javadoc function in NetBeans, right click on the field like
"str.split" and choose the Javadoc option.
HTH.
norman.
On Sep 19, 6:37 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Where is the java doc? Im new to this group.
>
> On Sep 19, 2:09 am, miga <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Sep 19, 4:36 am, Terek <[EMAIL PROTECTED]> wrote:> I need some help with
> > the Java Array homework, it says:
>
> > > I'm relatively clueless how to do this, first off what does the .split
> > > and the .length do after the variables? I imagine that has a key role
> > > in making the program, if it doesn't then how do I go about making
> > > such a program?
>
> > First of all, could you please not post the entire homework subject,
> > everyone in the course has it.
> > Then read the javadoc for split and length and you will have your
> > answers.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---