string - ActionScript2: Split a text with two delimiter, Help -


I try to create a project with the use of a split in AC2.

I have it

  in_on = 3x5 + 5x3 + 6x8; Var tmp: array = in_pers.split ("+"); Trace (tmp); // output == 3x5, 5x3, 6x8  

But, if in_pers = 3x5 + 5x3-6x8-4x2;

How can I get the result 3x5,

Best Relationship ..

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -