In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How to find last occurrence of particular word in string

Arti2893
7 - Meteor

Hi Team,

 

I want to find last occurrence of word "Status:5" in a string and replace it with "'Status:2".

 

Please note that the string is dynamic. Can someone please help 

1 REPLY 1
aatalai
15 - Aurora

Try this in the formual tool

 

 

Reversestring(replacefirst(ReverseString([feild]),"5:sutatS","2:sutatS"))

 

@Arti2893 let me know how you get on

Labels
Top Solution Authors