Good morning,
I am trying to trim all 10 right characters next to the user id.
By using:
RTRIM(PORTAL.OPC_SURVEY_SCORES.RESPONDENT, '0123456789') = PORTAL.WWCTX_API.GET_USER
I get UNDALD as out output allowing the comparison to work fine (UNDALD = UNDALD)
However,
If user 'EFCUST1" is logged in, I get
EFCUST
Therefore comparison does not work (EFCUST != EFCUST1)
I have searched everywhere and I do not seem to find a way to strip all 10 numeric numbers from the string. The string will always have these 10 numeric characters at the end.
Any assistance is appreciated.
This are the strings...
UNDALD0000000025
EFCUST10000000026