desypher string

  • yuriythebest
  • Banned
  • Banned
  • User avatar
  • Posts: 143
  • Loc: Ukraine

Post 3+ Months Ago

I have 2 questions regarding strings:
1. How do I convert a string to a regular variable ie good="2+1"; into good=3;
2. is there a way to find& replace stuff in a string ie good=" this is a test"; and to issue a command that would replace "test" to "good" so that it is good=" this is a good";
thanks.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • contstrictor
  • Novice
  • Novice
  • contstrictor
  • Posts: 26

Post 3+ Months Ago

I'm not really sure about this i had qestions about it earlier but i managed to avoid it. Try the
Code: [ Select ]
valueOf()
function look in the flash help files for that.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.