title: How to convert a cell reference into a string in Google Spreadsheet Apps Script?
body: <p>Is there a google apps script function that allows you to extract the string from the reference in a cell?</p>
  
  <p>For instance suppose my cell contains the value:</p>
  
  <pre><code>=A1:A5
  </code></pre>
  
  <p>The value that results from this reference will be the value in A1.</p>
  
  <p>What I want to know is whether a function exists to get the string value of the reference; i.e. convert =A1:A5 to "=A1:A5" or more preferably "A1:A5", where "=A1:A5" and "A1:A5" are strings.</p>