| 01-10-2007, 01:32 AM | #1 |
Does it have a char escaping system? As in I want to have a cell with a " inside it. C;X11;K"\"NoiseScale\"" seems unlikely since \ is allowed normally. Edit: I tested saving from excel and it did something like this: C;Y29;X2;K""aaa"" anyone has got a way to actually test wc3's slk parser ? |
| 01-10-2007, 02:12 PM | #2 |
It is just a " in the start and a " in the end of line. Haven't seen anything else in wc3's slk files. |
| 01-10-2007, 05:15 PM | #3 |
You terribly missunderstood the question it seems. |
| 01-10-2007, 10:18 PM | #4 |
I just opened up a spreadsheet program and typed in "Test". The output for that line was: C;X1;Y1;K"""Test""" My guess is "" means " but that's only a guess, you'd have to test it in some way. |
| 01-11-2007, 01:05 AM | #5 |
What it seems is that the SLK format is retarded and the quotes after the K are "for decoration" cause what it actually considers is the line break. So K""a"" means a cell with "a" as value |
| 01-11-2007, 10:15 AM | #6 | |
Quote:
...or you missunderstood the answer =P |
| 01-11-2007, 03:08 PM | #7 |
The cell value is assumed to have enclosing ":s. Inside them " is just the "-character. Thus: C;Y1;X1;K"Hello" gives: Hello C;Y1;X1;K""Hello"" gives: "Hello" C;Y1;X1;K""Hi" "Hey" and "Hello"" gives: "Hi" "Hey" and "Hello" And for your original question: C;Y1;X1;K""" gives: " |
