Whoah, you’re at our level cap. Good job, you rock! Here, have some cake.
Community Get activity updates from around Kongregate.
Explore Kongregate & earn 10 kreds Here are your 10 free kreds Explore Kongregate & earn a trophy Here’s a shiny trophy for you 15%
Keep exploring Kongregate with more badges and games!
Hide the progress bar forever? Yes No
7 posts
Sign in to reply
(AS3.0, Flex)
I have been trying for ages, how do you do it?
Use split and join but join a new string with the last character missing? Kinda hackish but it should get the job done.
Tried that… Could you post it?
myString.substring(0,myString.length-1)
Yep, that works! Thanks!
(Why does everyone use “myString” anyway, it sounds like a baby toy o_O)
Examples often have names like myString, myFunction, myClass.. I guess it makes it easier, so you don’t need any more info to confuse you :P
Originally posted by SavageWolf:Yep, that works! Thanks! (Why does everyone use “myString” anyway, it sounds like a baby toy o_O)
I could have said foo.substring, but then you’d ask “what’s foo?” and I’ve had said, “well, its like bar, only not.”
“Foo bar,” you say?
Yes, FUBAR.
http://en.wikipedia.org/wiki/Foo
X
Loading