Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

How to find a constant in a string in SAP BO Webi Report


I want to find a constant in string in SAP BusinessObjects Webi report. There is a MATCH() function that can be used to find a string pattern as below:

=IF(MATCH([Dimension];"def") OR MATCH([Dimension];"*def") 

  OR MATCH([Dimension];"def*") OR MATCH([Dimension];"*def*"))

I tried to find some methods online however I couldn’t able to find any. Anyone can help?


1 Answer
SAP Expert

You are correct. You can use functions like Match() or Pos(). You can use MATCH([Dimension];"*def*")) and this will get you the output and wildcard will match the beginning of the string.

Pos Function is used to return the position of a specific character string.

You can also try using Pos() function as below:

=Pos("def abc ghi";"def")

returns 1

=Pos("def abc ghi";"abc")

returns 5

=Pos("def abc ghi";"xyz")

returns 0



Advertisements

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.