Function newlines_to_spaces

  • SGF "simple text", eg used in the LB property, we can't have newlines. This strips them and replaces them with spaces.

    Parameters

    • txt: string

    Returns string