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