Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tabbing in C# resource file

How do i add a TAB (\t) to a string resource ?

"\tText" doesn't work

like image 715
Gady Avatar asked May 25 '09 15:05

Gady


1 Answers

You have to explicitly add the tab in. The easiest way of doing this is probably to type out your string in notepad (with the tab explicitly set in place rather then using an escape character) and copy and paste the text into the resource editor.

You will have a similar problem with newlines, the easiest way of adding them in is to - again - add newlines in explicitly by using the shift-enter key combination.

like image 138
jpoh Avatar answered Sep 28 '22 04:09

jpoh