title: Extracting a text following a symbol from a string without using regex: Python
body: <p>def extractdollarsign(text)</p>
  
  <pre><code>&gt; extractdollarsign('the day is good $GoodDay')
  ['GoodDay']
  
  &gt; extractdollarsign('the day is good$GoodDay')
  []
  
  &gt; extractdollarsign('the day is good $GoodDay $Day') 
  ['GoodDay', 'Day']
  
  list = []
  extractedtxt = text[text.find("$")+1:].split()[0]
  list.append(extractedtxt)
  return list
  </code></pre>
  
  <p>this is what i have so far however this code is only returning the text that follows the first occurring dollar sign and not appending the dollar signs to the list, any help would be greatly appreciated </p>