Nov
13
comment Why won't the following java code compile?
And thank you for your input as well.
Nov
13
accepted Why won't the following java code compile?
Nov
13
comment Why won't the following java code compile?
Well, I do appreciate your time on this, and thank you for your assistance.
Nov
13
comment Why won't the following java code compile?
So I thought I was doing it wrong.
Nov
13
comment Why won't the following java code compile?
LMAO! That was the first thing I did like 2 hours ago! The reason I've been so frustrated, and decided to come here, was because I got this when I ran the damn thing. Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
Nov
13
comment Why won't the following java code compile?
That's it? That's all I had to do?
Nov
13
asked Why won't the following java code compile?
Sep
28
awarded Commentator
Sep
28
comment How do I turn my windows 7 laptop into a remote server?
Okay, I'll give that a try. Thank you.
Sep
28
asked How do I turn my windows 7 laptop into a remote server?
May
13
comment Alter display name string from "First M. Last" to "Last, First M."?
Thats a cool site
May
13
accepted Alter display name string from "First M. Last" to "Last, First M."?
May
13
comment Alter display name string from "First M. Last" to "Last, First M."?
so somethinglike name.split("\\s") System.out.println ("nameArray[1] + "," + nameArray[0]
May
13
asked Alter display name string from "First M. Last" to "Last, First M."?
May
11
comment Swapping the position of elements within an array in java?
The way I did it was to check to see if the string contained a comma. If it did then most likely it is in the "Last, First" format. But I haven't come with a solution for if the comma is not there
May
11
accepted Changing Name Format from "Last, First MI." to "First MI. Last" in Java
May
11
comment Changing Name Format from "Last, First MI." to "First MI. Last" in Java
I know guys, sorry I'm new to all this. Will remember that on my next post @Hovercraft Full Of Eels. Thank you.
May
11
comment Changing Name Format from "Last, First MI." to "First MI. Last" in Java
I'm pretty new to all this (Not that you guys/girls haven't already noticed), but could you take a sec and explain what is going on with ("(\\w+), (\\w+) (\\w\\.)", "$2 $3 $1") ?
May
11
comment Changing Name Format from "Last, First MI." to "First MI. Last" in Java
This would work if i were just changing one name, but imagine, if you will, that I need to apply this rule to 1000 different names. I need to run each name through a rule that says "Hey if this string has a comma I need to switch the names around and remove the comma, then replace this new name with the original name".
May
11
comment Changing Name Format from "Last, First MI." to "First MI. Last" in Java
my apologies @Bohemian. Ok, so imagine that my tool retrieved the name "Smith, John B." I need to take that name and turn it into "John B. Smith", then display it this new name back to the user in place of the old name.
1 2