The Product Idea boards have gotten an update to better integrate them within our Product team's idea cycle! However this update does have a few unique behaviors, if you have any questions about them check out our FAQ.

Alteryx Designer Desktop Ideas

Share your Designer Desktop product ideas - we're listening!
Submitting an Idea?

Be sure to review our Idea Submission Guidelines for more information!

Submission Guidelines

New String Function: Find Nth

Currently there is a function in Alteryx called FindString() that finds the first occurrence of your target in a string. However, sometimes we want to find the nth occurrence of our target in a string. 

 

FindString("Hello World", "o")  returns 4 as the 0-indexed count of characters until the first "o" in the string. But what if we want to find the location of the second "o" in the text? This gets messy with nested find statements and unworkable beyond looking for the second or third instance of something. 

 

I would like a function added such that 

 

FindNth("Hello World", "o", 2) Would return 7 as the 0-indexed count of characters until the second instance of "o" in my string. 

6 Comments
DataNath
17 - Castor

This would be great! Have had quite a few instances where this would’ve saved a lot of time.

AlteryxCommunityTeam
Alteryx Community Team
Alteryx Community Team
Status changed to: Accepting Votes
 
mikael_svalgaard
7 - Meteor

I support this idea!

NicoleJ
Alteryx
Alteryx
Status changed to: Accepted

We have quite a few new functions on the list to consider - we'll include this one in the queue! 

NicoleJ
Alteryx
Alteryx
Status changed to: Implemented

FindNth function was implemented in 24.1! 

balders-ie
7 - Meteor

Thank you @NicoleJ !