tab character issue

 

Hi All, sorry if this is a silly question, but I haven't been able to come up with a solution: if I try to put a '\t' character into a string, it ends up displayed as a space (32) rather than a tabulation (9).

What am I doing wrong ?

Thanks ! 

 
rotor:

Hi All, sorry if this is a silly question, but I haven't been able to come up with a solution: if I try to put a '\t' character into a string, it ends up displayed as a space (32) rather than a tabulation (9).

What am I doing wrong ?

Thanks ! 

Is it in a Print(), Alert(), or Comment() ?. \t will be ignored in Print(), or Alert().
 

I was using (well, trying to use) it in a printf() call.

Thanks !

 
solution ???
 
Muhammad Fahad #:
solution ???

Use four consecutive spaces instead!