• Returns a new string equivalent to this string but with the whitespace removed from the start and end.

    Parameters

    • str: string

    Returns string

    Deprecated

    Use string.trim instead.