You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SUBSTRING based on non-numeric character in the expression (OTBI Analysis)

Received Response
edited Dec 31, 2018 4:45PM in Reporting and Analytics for ERP 4 comments


SUBSTRING based on non-numeric character in the expression for OTBI Report


Hi All,

      I have a requirement in OTBI Report, to get the 20 characters after the string 'XYZ' from an expression. If the expression doesn't have the string 'XYZ' then the first 15 characters. The expression is not fixed length.

If the expression is fixed length, i can use SUBSTR(<expression>,1,20) if the expression has 'XYZ' if not SUBSTR(<expression>,1,15).

So, instead of 1 i have to use XYZ because this string 'XYZ' may be anywhere in the expression.Could anyone help me on this scenario


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!