Cells with Multiple Lines
Last updated
Was this helpful?
The CsvFileManager supports CSV (or .txt files) cells with multiple rows. If you are using Text objects to display the contents of a CSV cell, the Text object will obey the new lines.
To enter multiple lines in Excel:
Click on a cell
Begin entering text
Hold down the ALT key and press ENTER to insert a new line
Continue typing
If you are used to programming new lines in strings in C# code, then you may be familiar with the '\n' character. However, FlatRedBall CSVs will not obey the newline character. The reason for this is because in code the '\n' is actually a single character, while writing \n in a CSV actually generates two characters: the '\' character followed by the 'n' character. To represent the \n character as a single character, you just insert an actual newline - this is what ALT+Enter in Excel accomplishes.
Last updated
Was this helpful?
Was this helpful?