I have 2 columns with headers First Name and Last Name
how would I take
first 4 characters of First Name, first 4 characters of Last Name, change to uppercase, and then concatenate into a new column Photo Name
In a statistical package, this does it: multiple lines only need for readability
string PhotoName(A14).
COMPUTE PhotoName= CONCAT(
(upcase(char.substr(Lastname,1,4))),
(upcase(char.substr(Firstname,1,4))),
'01.jpg').
Last Name First Name Photo Name
Smith John SMITJOHN01.jpg
Doe Janet DOE JANE01.jpg
Washington George WASHGEOR01.JPG
Bookmarks