Access returned values from String Function

Hi All, 

Does anyone know how I access the returned values from a string function. 

My current use case: 

  1. I am using the string function, specifically the "split" function to split the current input via a comma:  ['user@email', 'user2@email'] 
  2. When I review the returned results in the "technical details" tab I can see in the JSON result has two values returned: 
    1. 0 user@email
    2. 1user2@email
  3. When I attempt to view the results via [Functions_String Functions_1.JsonResult] it doesn't let me specify which key I would like (1), and so returns the array back to me. 

The goal is to split the two emails and only return the "user2@email" as I would like to use that value in a UDM query down the line. 

Any idea how to achieve this? 

Thanks 

Solved Solved
0 4 247
1 ACCEPTED SOLUTION

In that case, the simplest solution is to use the "last" function.

ylandovskyy_0-1747041323563.png

ylandovskyy_1-1747041335570.png

ylandovskyy_2-1747041359333.png

 

View solution in original post

4 REPLIES 4