title: String Split by Length and split only by nearest space
body: <p>I am having a Text Like </p>
  
  <pre><code>var data = "âô¢¬ôè÷¢ : ªîø¢è¤ô¢ - ã¿ñ¬ô ñèù¢ ªð¼ñ£÷¢ ï¤ôñ¢,«ñø¢è¤ô¢ - ªð¼ñ£÷¢ ñèù¢ ÝÁºèñ¢ ï¤ôî¢¶è¢°ñ¢ ñ¤ì¢ì£ Üò¢òñ¢ ªð¼ñ£ñ¢ðì¢® è¤ó£ñ âô¢¬ôè¢°ñ¢,õìè¢è¤ô¢ - ÝÁºèñ¢ ï¤ôñ¢,è¤öè¢è¤ô¢ - ôì¢²ñ¤ ï¤ôñ¢ ñø¢Áñ¢ 1,22 ªê ï¤ôñ¢ ð£î¢î¤òñ¢";
  </code></pre>
  
  <p>and I am Having the Extension Method to split string </p>
  
  <pre><code>public static IEnumerable&lt;string&gt; EnumByLength(this string s, int length)
  {
      for (int i = 0; i &lt; s.Length; i += length)
      {
          if (i + length &lt;= s.Length)
          {
              yield return s.Substring(i, length);
          }
          else
          {
              yield return s.Substring(i);
          }
      }
  }
  public static string[] SplitByLength(this string s, int maxLen)
  {
      var v = EnumByLength(s, maxLen);
      if (v == null)
          return new string[] { s };
      else
          return s.EnumByLength(maxLen).ToArray();
  }
  </code></pre>
  
  <p>Now my question is</p>
  
  <p>To split this string by Maximum Length <code>150</code> and the splitting must be done only by the Nearest Spaces in it..(either before <code>150</code> or after <code>150</code>.. not in the middle of a word.</p>
  
  <p>How?</p>