String to Array


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: String to Array

  1. #1
    e. stone Guest

    String to Array

    I am in need of an array to string function similar to that of javascript's
    split() method. Is there a method already in exsitence for this
    functionalilty, or will I have to write it myself - which is not a problem,
    but I'd just not rather write something that already exists...

    t h a n k s !

    :: e v a n k. s t o n e
    :: w e b p r o g r a m m i n g e n g i n e e r
    :: m u l t i m e d i a l i v e
    :: p e t a l u m a, c a, u s a
    ------------------------------
    :: mailto:evan@NOSPAMmmlive.com
    :: (remove 'NOSPAM' to reply via e-mail)
    :: http://www.mmlive.com




  2. #2
    Ruchi Dhar Guest

    Re: String to Array


    javascript split method is not for converting arry to string it splits the
    string with the specified delimiter. If you want the split functionality
    you can use java.util.StringTokenizer. Regarding converting array to String
    what is the type of array if it char array you can use String constructor
    new String(char[]).

    "e. stone" <evan@NOSPAMmmlive.com> wrote:
    >I am in need of an array to string function similar to that of javascript's
    >split() method. Is there a method already in exsitence for this
    >functionalilty, or will I have to write it myself - which is not a problem,
    >but I'd just not rather write something that already exists...
    >
    >t h a n k s !
    >
    >:: e v a n k. s t o n e
    >:: w e b p r o g r a m m i n g e n g i n e e r
    >:: m u l t i m e d i a l i v e
    >:: p e t a l u m a, c a, u s a
    >------------------------------
    >:: mailto:evan@NOSPAMmmlive.com
    >:: (remove 'NOSPAM' to reply via e-mail)
    >:: http://www.mmlive.com
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center