Coding Help Starting and Ending with a certain Character

What if you close the data with '<' ?