Hi all! I'm having some issues getting the "inits" variable to be 3 characters and keep all 3 initials. So far, the inits variable is 24 characters and if I add a length statement "Inits $3;" it only outputs the first initial (not FML)
If you define INITS as length of only 3 and try to assign it a value that is longer than that it will just keep the first three characters.
In this assignment statement
Inits = FirstInit || MiddleInit || LastInit;
will only work if each of those other variables are defined with a length of one. For example if FIRSTINIT has a length of 8 then only the first three characters from that variable will fit in the new INITS variable and whatever values the other two variables had wouldn't matter.
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!