LineParser.ParseString(string,string,bool)

Method in LineParser

Summary

Parses a string of text and produces a markup parse result.

public MarkupParseResult ParseString(string input, string localeCode, bool addImplicitCharacterAttribute = true)

Parameters

NameDescription
string inputThe text to parse.
string localeCodeThe locale to use when processing markers, as a BCP-47 locale tag.
squishIf false , markers that are split as part of the markup parsing process will not be re-merged before returning the result.
sortIf true , markers will be sorted based on their position in the input.å
bool addImplicitCharacterAttributeIf true, the parser will attempt to detect a character name in the text and add a [character] attribute for it.

Returns

A markup parse result.