Results 1 to 2 of 2
  1. #1
    javanew is offline Member
    Join Date
    Mar 2010
    Posts
    49
    Rep Power
    0

    Default split method problem

    HI , all
    sorry for repeating the post,,,
    BUT I WANT TO MAKE,,, a split method without using the already written method

    my fucntion signature should be like this
    public static String[] (String s, String regex)
    please help me,,
    i want to know how does split()method in String class works..

    Coz i want to create a new split method that returns an array of strings with delimiters,

    for example ("ab$sc$11$" , "$") >>returns an array that contains
    ab,$,sc,#,11,$

    please help with code ,,or with the alogarithm at least,,
    I dont know how to start !!!
    please Help !! i wan

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Please help me with Split method> String
    By javanew in forum New To Java
    Replies: 5
    Last Post: 04-02-2010, 06:15 PM
  2. split problem
    By mac in forum New To Java
    Replies: 4
    Last Post: 01-02-2010, 04:46 AM
  3. split method question
    By Chasingxsuns in forum New To Java
    Replies: 3
    Last Post: 11-19-2009, 07:19 PM
  4. Problem with split function
    By a.tajj in forum New To Java
    Replies: 4
    Last Post: 04-14-2009, 03:30 AM
  5. problem with split method
    By abhiN in forum New To Java
    Replies: 7
    Last Post: 02-10-2009, 01:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •