Yes thankyou Norm it worked A OK.
Type: Posts; User: av8
Yes thankyou Norm it worked A OK.
I have tried String [] text = {"late" ,"train", "is", "again", "the"}; with the curlys instead of []
text.split(",");
and still get an error do i need to use import java.util.*;
split(String regex, int limit)
These are the arguments in the API but to be honest I dont know what they mean or how to implement them.
rGds
String [] text = ["late" ,"train", "is", "again", "the"];
text.split(",");
for ( int i = 0; i < text.length; i++)
{
System.out.println(text[i]);
}
Hi Ladies and Gents,
I'm trying to teach myself about sets from scratch and the uses of them and I have thought of a method that could be useful.
If I had a method called for example ...