Hi!
Is it possible to check the first, last or any other position in an array in user properties during segmentation?
For example: I can check if an array contains an element that is X. But how do I check if *the last element* in the array is X?
Hi!
Is it possible to check the first, last or any other position in an array in user properties during segmentation?
For example: I can check if an array contains an element that is X. But how do I check if *the last element* in the array is X?
Hey
From what I know, this isn’t possible with the current operators out there if you are sending it as an array.
One way could be to try sending the array as a string instead and then using some glob expressions to match the last element for X. A not so clean approach, but you can give it a try if your use case calls for it.
Hope I have interpreted your use case correctly.
Thanks
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.