SAS (TX) interview question

Programs in JS for strings