title: Find a string in a string, using context (Scripting)
body: <p>I'm working on a simply 2D game engine with a simple Scripting Language.
  Here is a example how the script should look like:</p>
  
  <pre><code>&lt;a=AssetName&gt;
  &lt;scripthere&gt;
  &lt;script
  &lt;dialogue
  contiue dialogue
  &lt;a2=AlternativeAssetName
  &lt;script&gt;
  </code></pre>
  
  <p>The problem, I have, is how to get the 'AssetName' out of the first line (which must not be the first line). What is the best way to do this? Regular Expressions (never used them, and Google had no help on how I could use them)?</p>
  
  <p>I want to allow it in the language to end a command either with '>' or with the start of a new command '&lt;'.
  So the string would be defined something like this: </p>
  
  <pre><code>"&lt;a=" + (string)AssetName + ("&gt;" || "&lt;")
  </code></pre>
  
  <p>Thank you in advance. :)</p>