Jump to content

Devide a variable?


faldo
 Share

Recommended Posts

I'm in a final phase of completing my new "trainer template" with the exelent "game.dll" Jon made but i ran into a little problem...

Is it possible to define a variable and use portions of it?

Like this:

$myvar= 90 AF 4E 23

And then take out only a portion of the variable... like the AF or the 23?

Maybe break it down somehow and rebuild it with a variable per portion?

Edited by faldo
Link to comment
Share on other sites

Exact function for it:

$myvarArray = StringSplit($myvar, ' '); Note, there is a space between the 's

Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...