Reformatting a Java String

Posted by Travis on Stack Overflow See other posts from Stack Overflow or by Travis
Published on 2010-05-16T07:54:09Z Indexed on 2010/05/16 8:00 UTC
Read the original article Hit count: 291

I have a string that looks like this:

CALDARI_STARSHIP_ENGINEERING

and I need to edit it to look like

Caldari Starship Engineering

Unfortunately it's three in the morning and I cannot for the life of me figure this out. I've always had trouble with replacing stuff in strings so any help would be awesome and would help me understand how to do this in the future.

© Stack Overflow or respective owner

Related posts about java

Related posts about replace