mirror of
https://github.com/tonytins/cstdotnet.git
synced 2025-03-15 06:01:25 +00:00
Added link to working .NET Fiddle example.
This commit is contained in:
parent
1454754921
commit
139e8e12e3
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
Caret-Separated Text (or CST) is a key-value pair format represented by numbers or words as keys and the value is the string enclosed between carets that contains the contents. (e.g. ``<key> ^<value>^``) Any text which is not enclosed with carets is considered a comment and ignored. Neither strings nor comments may use the caret character.
|
||||
|
||||
QuickFennec.CST is a library for parsing the CST format.
|
||||
QuickFennec.CST is a library for parsing the CST format. Though, production version were capable of
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -24,6 +24,8 @@ var example = CaretSeparatedText.Parse(file, 1);
|
|||
Console.WriteLine(example);
|
||||
```
|
||||
|
||||
See working example on [.NET Fiddle](https://dotnetfiddle.net/ecKb2h).
|
||||
|
||||
In production, CST files were used in The Sims Online to provide translations. Each translation was split into their respective directories:
|
||||
|
||||
- ``uitext/english.dir/misc/_154_miscstrings.cst``
|
||||
|
|
Loading…
Add table
Reference in a new issue