The String is coming from an API response, when trying to display it on a TextView
, \n
and \t
doesn't work. Here is the sample String:
ECONOMY\nBooking purchased under this fare type: \n\n-\tis ALLOWED to do a flight change up to 48 hours prior to the scheduled departure time subject to a change fee chargeable per passenger per sector, plus any fare difference applicable.\n-\tis NOT ALLOWED to do a name change.\n-\tis capacity controlled and limited and hence, may not be available on all flights.\n-\tis always subject to our General Terms and Conditions of Carriage & Fee Schedule (if applicable). \n