How to put spaces before Capital letters in actionscript?

Posted by Ole Jak on Stack Overflow See other posts from Stack Overflow or by Ole Jak
Published on 2010-03-20T00:31:21Z Indexed on 2010/03/20 0:41 UTC
Read the original article Hit count: 339

So I have a string "SmartUserWantsToLive" I want to generate from it or any such string with capital letters strings like "Smart User Wants To Live". How do I do this?

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about flash