as3corelib icon indicating copy to clipboard operation
as3corelib copied to clipboard

StringUtil

Open shocknawe opened this issue 12 years ago • 0 comments

charCode 160 is also a non-breaking space, could you modify it so that it also trims it?

'if(input.charCodeAt(i - 1) > 32 && input.charCodeAt(i) != 160)'

shocknawe avatar Dec 13 '12 10:12 shocknawe