0

guys what \t does ??

thanks anyway

1st Dec 2016, 5:00 PM
Nada El Sayed
Nada El Sayed - avatar
2 Answers
+ 3
\t is the escape code for a horizontal tabulation, often called a tab. It may be interpreted differently depending on the output device and its configuration. Generally, it produces a variable amount of whitespace which (in the days of typewriters) would align text vertically. It is sometimes used as a separator in .csv files.
1st Dec 2016, 6:43 PM
Gordon Garmaise
Gordon Garmaise - avatar
+ 1
embeds tab character in to a string.
1st Dec 2016, 5:02 PM
Maxim Konstantinovski
Maxim Konstantinovski - avatar