• Replaces all special characters like \n, \r, \t, with an equivalent that can be displayed on a single line. Also trims line breaks at the end of the string.

    Parameters

    • outStr: string

    Returns string