Teradata interview question

Questions on strings