[ros-diffs] [cfinck] 33042: Idx already contains the length of the string Just loop and remove all newline & line feed characters from the right instead of doing this with 8 strlen calls