| Author |
String
|
anvi kon
Ranch Hand
Joined: Jan 08, 2010
Posts: 133
|
|
Hi,
I am getting the time from the calander like below
String time = "16:10";
How would I convert to 1610?
How would I remove the : from 16:10?
Thanks
|
 |
Steve Harney
Greenhorn
Joined: Jun 19, 2010
Posts: 18
|
|
If you are starting with a java.util.Calendar object i would use a date format ie.
If you are convinced you need to use a string just use the replace method on the String object ie.
Steve
|
 |
 |
|
|
subject: String
|
|
|