title: Trimming a long text to get what I want using substring
body: <p>I have a program that was created using c# in UWP and we have a map embedded in it using ESRI.ArcGISRuntime libraries.</p>
  <p>I want to show the datum only and I have used substring to extract what I need but it always gives me to much.</p>
  <p>This is the line of code I get:</p>
  <p>PROJCS[“WGS_84_Web_Mercator_auxillary_Sphere”.DATUM[“GCS WGS 1984”.SPHEROID[“WGS 1984”.6378………..</p>
  <p>I want to show only what is after DATUM and before SPHEROID, which is GCS WGS 1984.</p>
  <p>This is what I have so far:</p>
  <pre><code>_currentProjection = _tileLayer.SpatialReference.WkText.Substring(_tileLayer.SpatialReference.WkText.LastIndexOf(&quot;DATUM&quot;) + 9, _tileLayer.SpatialReference.WkText.StartsWith.ToString(&quot;SPHEROID&quot;);
  </code></pre>
  <p>The first part of the substring is correct, but I cannot get the second part correct.  Does anyone have an idea on how to do this?</p>
  <p>Thank you</p>