title: NSString to fixed length char array conversion
body: <p>I am having a struct which contains a char array like this:</p>
  
  <pre><code>char name[10];
  </code></pre>
  
  <p>Now I need a way to convert NSString to this type of string.</p>
  
  <p>I already can convert this string to a NSString:</p>
  
  <pre><code>NSString *string = [[NSString alloc] initWithBytes:name length:10      
  encoding:NSASCIIStringEncoding];
  </code></pre>