How to get the serial monitor to only show a specific part of what it outputs?

right ok I will have a look at that and try to get it working. Could I possibly use the 'trim' unction in this instance?