0
 Followers
1
 Like

Use wildcard in If or Switch widget in a Web Screen

New

My idea is to allow the use of Wildcards (%) in If and Switch widgets in a Web Screen.
I haven't found a way or found any documentation on using a wildcard in an If widget or a Switch widget inside a Web Screen. I can iterate through an uploaded text file by converting binary to text, but I need a way to find the lines I need to create a record. Certain parts of the line are always the same, but the rest of it isn't, including the position of the common parts. I need a wildcard search for the common part of the line and there isn't a simple way of doing this that I have found.

Created on 19 Jun
Comments (1)

Hi Lucas,


You can do that by using the build in function "Index" which will return the position of the string that you are searching and -1 if the text was not found.


https://success.outsystems.com/Documentation/10/Reference/Logic/Built-in_Functions/Text_Built-in_Functions#Index


Let me know if this fulfill your use case.



views
94
Followers
0