The Artima Developer Community
Sponsored Link

Java Answers Forum
convert long[] to String and again to String to long[]

1 reply on 1 page. Most recent reply: Jun 28, 2002 7:07 AM by Trung

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
chandra shekar

Posts: 1
Nickname: chinni14
Registered: Jun, 2002

convert long[] to String and again to String to long[] Posted: Jun 28, 2002 6:03 AM
Reply to this message Reply
Advertisement
How to convert convert long[] to String and again the same String to long[]


Trung

Posts: 9
Nickname: chitrung
Registered: Jun, 2002

Re: convert long[] to String and again to String to long[] Posted: Jun 28, 2002 7:07 AM
Reply to this message Reply
hi,

you can convert a String to a long with this code :
Long.parseLong(String);
and a String to a long :
String.valueOf(long);?

trung

Flat View: This topic has 1 reply on 1 page
Topic: Why static this abstract factory? Previous Topic   Next Topic Topic: EJB related questions.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use