4 Replies Latest reply on Nov 11, 2010 9:21 PM by athiroy

    Split Two Strings

    athiroy Level 1

      hi
      i am working in flex 4.

       

      i have one string variable name is str="we found six to thirteen years old self instruct in the connector in the violament "
      if the str.length<50
      i don't want to disturb the str variable.

       

      But
      if the str.length >50 then
      i want to split the str into store two string variables for the following

       

      fline="we found six to thirteen years old self instruct in the";
      sline="connector in the violament "
      Spliting is based on " " null charcter.

       

      how i split programatically.

       

      regards
      athi