I have this string variable in my PHP code:
I am getting this value from DB.
$includes = "~ All taxes<br/>~ Complimentary Buffet Breakfast,<br/>~ Complimentary Wi-Fi<br/>~ Complimentary Fruit Basket only for Suite Room<br/><br/>Facilities and Services:<br/>~ 24Hrs Room Service<br/>~ Lounge<br/>~ Direct Dialing STD and ISD facilities <br/>Kindly Note:<br/>Before 72Hrs Cancellation full refund";
How to remove this sentence ('Kindly Note: Before 72Hrs Cancellation full refund') from the string.
I have to remove the text which come after this text('Kindly Note:') from the given string How to do that.
Some time I get different text after this text('Kindly Note: We dont allow 24hrs checkin') So I want to remove text whatever comes after this text('Kindly Note:');
Before 72Hrs Cancellation full refund) from the string. – Suresh Pattu Dec 14 '15 at 07:04
Before 72Hrs Cancellation full refund) come always at the end of the string. – Suresh Pattu Dec 14 '15 at 07:06