Function stripWhitespace

  • Strips all whitespace from the text (not only leading and trailing)

    Parameters

    • text: string

      Text to strip whitespace from.

    Returns string

    Text with whitespace stripped.