I have a character variable which contains data as follows...
Joe
Bill
Gary
Mike
There is a carriage return/line feed after each name. Now I need to take the variable and add a character to the beginning of each line so that it will be:
X Joe
X Bill
X Gary
X Mike
I can think of ways to do this but they are messy. Does anyone have a slick method?
Joe
Bill
Gary
Mike
There is a carriage return/line feed after each name. Now I need to take the variable and add a character to the beginning of each line so that it will be:
X Joe
X Bill
X Gary
X Mike
I can think of ways to do this but they are messy. Does anyone have a slick method?