Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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)

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

Summary

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

Content

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.

Register

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