Trims the given PLC string until end mark (\0) is found (removes empty bytes from the end)

  • Parameters

    • str: string

      String to trim

    Returns string

    Trimmed string