Alteryx Designer Desktop Discussions

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

Add html string before and after a word found in list?

BigDataGeek
Astéroïde

Hi,

 

I've been working on a way to find specific words from a specific list in another list.   @NicoleJohnson and @danilang  found a great solution (attached) for that.  Now I'd like to add HTML before/after the word where it's found so it highlights in a powerapp.  Something like :

 

<span style="background-color: #FFFF00">Word</span>

 

Given the solution attached, what would be the easiest way to add this to the existing input fields where it's found?

5 RÉPONSES 5
BigDataGeek
Astéroïde

In the example above, I'd want the html wrapped around the word in 'Field 1'.

 

 

BigDataGeek_0-1651204151174.png

 

 

 

binuacs
Polaris

@BigDataGeekare you looking some thing like below

 

binuacs_0-1651213410506.png

 

BigDataGeek
Astéroïde

I'm looking to update the field where the word is found, so if it is found in field 1 or field 2, it would update that field by added the html around the word found. 

binuacs
Polaris

@BigDataGeek may be something like this?

 

binuacs_0-1651248653336.png

 

BigDataGeek
Astéroïde

That worked perfect, thanks!

Sondage
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Étiquettes