Jaaames
2008-05-26 18:33:08 UTC
I'm writing an AS3 script, currently using substr to extract the last six characters in quite a large loop. I'm just wondering if it will execute faster using a regular expression, seeing as they were introduced to AS3 for the performance benefits.
So can anyone tell me the regular expression that will match the last six characters in a string?
I have looked, but it's 2:30am, I'm new to regular expressions and I'm struggling to get my head round them.
Many thanks.