Hello guys,how to get this word with substring?
Hi Ricky,
You need to paas 2 things to your string_split function call
1. Complete string
2. Delimiter (/ in your case)
You can receive the output in an array and fetch the required value using index. Refer this post for more details:
https://www.outsystems.com/forums/discussion/36471/split-string-how-does-it-work/
Is your URL structure constant meaning the part earlier to the create word will be same always? If yes, then you can use substring or string_split from Text library:
Substring(URL, 60, 65)
Easier way would be to use string_split using / and pick the 4th index value from the array.
Akshay Puri wrote:
yes the structure is same, u have example how to use string_split?
ricky kardiansyah wrote:
Hi,
It's very easy to find out particular words from the string, please see below document,
https://success.outsystems.com/Documentation/How-to_Guides/Logic/How_to_find_out_if_a_string_is_contained_in_another_string
Also sharing earlier post related to the same issue,
https://www.outsystems.com/forums/discussion/53550/find-the-given-text-exists-in-the-list-of-text/
Thanks guys i already found the answer