This is happening due to character limit of data type assigned to that field. Character limit of that field is set as char(5) or varchar(5), therefore it strip off any characters after 5 words.
This is correct. Tried using a CASE statement without returning the actual field values but strings and it works fine! Thanks!