1 Reply Latest reply on Dec 28, 2011 7:41 AM by drkstr_1

    How to make customize Replace function with Positions not pattern ?

    SunilRana_Gateway Level 1

      Hi

       

      Due to Repalce with patterns in  flex, i am facing issue.

       

      I  want to make cutomize replace function with  parameters

       

      1 Parameter - String to replace

      2 Parameter - Start Posion.

      3 Parameter - Last position

       

      which return string value.

       

      For Example

       

      replaceInWholeString(str:String, sPos:Number, lPos:Number ):String

       

      values like

       

      1st paramter - "asked"

      2nd Paramter - 11

      3rd Paramter -  15

       

      Original String :: I want to reply

      Output string : I want to asked

       

       

      Please Reply ,if someone having solution

      Thanks

      Sunil Rana