r should have been \r in TrimRight