Informatica does not have this documented but you could use SUBSTR function to go from Right to Left as well. Just use a negative start.
IIF(SUBSTR(FILENM,-4)='.PDF', 'PORTABLE')
of what I learned today
IIF(SUBSTR(FILENM,-4)='.PDF', 'PORTABLE')
REG_EXTRACT('Fiction__JK_ROWLING__HARRY_POTTER__MAX07','(\w+)(__\w+__)(\w+)(__.*)',3)
HARRY_POTTER
sed '/'"$pattern"'/d' filename
sed "/$pattern/d" filename
awk '{ if ($(1) == "'"$pattern"'" ) {print $2}}'Optionally, you could create an awk variable from shell variable.
awk '{ if ($(1) == ipattern ) {print $2}}' ipattern=$pattern filename
awk -F, '{if ($(1)=="0") {print $1}}' myfilenameWhat does it do?cp filename{,.bk}echo John{Doe,Smith}
JohnDoe JohnSmith
echo {John,Jane}{Doe,Smith}
JohnDoe JohnSmith JaneDoe JaneSmith