title: Split string after certain character count
body: <p>I need some help. I'm writing an error log using text file with exception details. With that I want my stack trace details to be written like the below and not in straight line to avoid the user from scrolling the scroll bar of the note pad or let's say on the 100th character the strings will be written to the next line. I don't know how to achieve that. Thanks in advance.</p>
  
  <p><strong>SAMPLE(THIS IS MY CURRENT OUTPUT ALL IN STRAIGHT LINE)</strong></p>
  
  <pre><code>STACKTRACE:
  
  at stacktraceabcdefghijklmnopqrstuvwxyztacktraceabcdefghijklmnopqrswxyztacktraceabcdefghijk
  </code></pre>
  
  <p>*<strong>*MY DESIRED OUTPUT (the string will write to the next line after certain character count)</strong></p>
  
  <pre><code>STACKTRACE:
  
  at stacktraceabcdefghijklmno    
  pqrstuvwxyztacktraceabcdefgh    
  ijklmnopqrswxyztacktraceabcd    
  efghijk
  </code></pre>
  
  <p><strong>MY CODE</strong></p>
  
  <pre><code>builder.Append(String.Format("STACKTRACE:"));
              builder.AppendLine();
              builder.Append(logDetails.StackTrace);  
  </code></pre>