Results 1 to 2 of 2
  1. #1
    gnanaprasanna is offline Member
    Join Date
    Nov 2011
    Rep Power

    Thumbs up spilt string into many strings

    Respected sir,

    String s=”age<=10 height<=99 result_positive age<12 height<=111 result_negative age<=20 height<=125 result_positive age<=25 height<=167 result_positive”;

    I need to spilt the above string into multible strings based on result_positive and result_negative like below

    String s1= age<=10 height<=99 result_positive ;
    String s2= age<12 height<=111 result_negative;
    String s3= age<=20 height<=125 result_positive;
    String s4= age<=25 height<=167 result_positive;

    Please provide a solution for that.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power

    Default Re: spilt string into many strings

    You should hire a programmer if you are looking for some one to do your work.
    If you want help writing a program, show your current version of the program and the problems you are having.

Similar Threads

  1. If string does not match a number of strings problem
    By Interista in forum New To Java
    Replies: 2
    Last Post: 11-17-2011, 05:49 PM
  2. Replies: 1
    Last Post: 10-08-2011, 06:41 AM
  3. Replies: 2
    Last Post: 06-10-2011, 08:15 AM
  4. Replies: 1
    Last Post: 11-04-2010, 07:53 PM
  5. how to at strings to a string like a table
    By petrosgraf in forum New To Java
    Replies: 14
    Last Post: 09-24-2009, 01:00 AM

Posting Permissions

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