Open Rails

STFReader.ReadStringBlock Method

[This is preliminary documentation and subject to change.]

Read an string constant from the STF format '( {string_constant} ... )'

public string ReadStringBlock(
   string defaultValue
);

Parameters

defaultValue
the default value if the item is not found in the block.

Return Value

The first item inside the STF block.

See Also

STFReader Class | Orts.Parsers.Msts Namespace