Just use String.Replace to get rid of the carraige return. Furthermore,
if there is only ONE carraige return at the end, then you can use the
Left method of the string class to get the n-1 leftmost characters of
the string, where n is the length of the string.