For building up strings out of little pieces, we use fromCharCode

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of polestar11
Sent: Friday, July 11, 2008 5:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Fast String concatenation

 

Hi there

I wanted to check if there are any tricks one can do to improve the
speed on concatenating strings. 

I know in Java there is a StringBuilder class which is faster than the
'+' operator. I havent seen an equivallent for Actionscript, so is var
mystring:String = 'string1' + 'string2' the fastest way to concatenate
strings?

CHeers
tracy

 

Reply via email to