on 2020 Jan 20 12:37 PM
Dear Team,
In a SLT table AUSP, we have a column OBJEK and business needs to fetch the OBJEK which starts with ? (Symbol).
I tried with below cases in expression editor of Projection in a view and it did not work.
Option 1: match("OBJEK",'?*')
Option 2: match("OBJEK",'\?*')
Option 3: match("OBJEK",'\[?]*')
Option 4: match("OBJEK",'[\?]*')
Please suggest if I am doing any wrong on the above.
Sample data in a table AUSP for this field OBJEK are:
?0100000000000089665
?
000000000000096653
I do not know if an escape character can be used for the "match" function to escape the '?' to be no interpreted as any single character. At least nothing is documented; and usual escape characters do not have an effect.
As an alternative in your filter expression you can check if the first character is a question mark, to reach the same expected result:
leftstr("VALUE",1) = '?'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.