title: How to split a variable by a special character
body: <p>I have value which stores the present resolution, such as: <strong>$2 = 1920x1080</strong>. I would like to split the value based on the <code>x</code> character and store the result in 2 variables.  With the example above, the first variable will store 1920 and the second 1080.  I would then like to make the definition for a print command based on these two valyues. </p>
  
  <p>What is the best way to do this?</p>