title: Getting middle three characters of an odd length string
body: <p>I want to retrieve the middle three characters of a given odd length string.
  Eg. if </p>
  
  <pre><code>string original = "India" //  expected output - "ndi" 
  string original = "America" // expected output - "eri" 
  </code></pre>
  
  <p>I tried the following code and it works as per requirement but I was wondering is there any better way for doing the same?</p>
  
  <pre><code>public string GetMiddleString (string original)
  {
      string trimmed = string.Empty;
      int midCharIndex = (original.Length / 2);
      if ((original.Length) % 2 != 0)
      {
          trimmed = original.Substring (midCharIndex - 1, 3);
      }
      else
      {
          trimmed = original;
      }
      return trimmed;
  }
  </code></pre>