Table of Contents

Method PrintableString

Namespace
Microlithix.Text.Ansi
Assembly
AnsiParser.dll

PrintableString(List<IAnsiStringParserElement>)

Converts a list of parsed elements into a string containing only the printable characters.

public static string PrintableString(List<IAnsiStringParserElement> elements)

Parameters

elements List<IAnsiStringParserElement>

A list holding the elements to convert.

Returns

string

A string containing only the printable characters from the input elements.

Remarks

All of the control codes and escape sequences in the list of elements are ignored. Note that the DEL character (0x7f) is considered to be printable, so it will be retained in the returned string.