title: Getting NSString from char * (Converting C's char-pointer)
body: <p>I want to show the <code>char *</code> in the <code>UITextField</code></p>
  <p>What I tried:</p>
  <pre><code>char *data;
  char *name=data+6;
  txtName.text=[[NSString alloc] initWithCString:name encoding:NSUTF8StringEncoding];
  </code></pre>
  <p>but I am not getting the correct value.</p>