[SOLVED] String Length issue.
Hello
I have yet another question which will be very basic to you guys. :D
I have tried searching the forums and google for the answer but i really can't find it.
I'll give you an example of what i want to do.
Code:
String Name = "Chris";
int NameLen = Name.length;
System.out.println(Name + "\t" + Channel);
In between the two +'s with the \t i want to add the length of the string in as extra space so the columns line up properly when displayed.
On VB i remember it used to be len(VALUE) but i have no idea in java and can't find it. lol
Thanks
--
Chris