title: image src from a var?
body: <p>I have a var that contains a number and I want to store that in image src like:</p>
  
  <pre><code>var number = 10;
  &lt;img src="images\'+number+'.jpg"&gt; 
  </code></pre>
  
  <p>i already have a picture with called 10.jpg</p>
  
  <p>also how can I change a string to a number. for example if I use reg-exp to get a number from text how can I change it to a number ?</p>