Find words from fixed list in a string and return as output
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
EstherT
5 - Atom
‎06-23-2023
05:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi all,
I've been trying to find certain codes/characters (coming from a second file) in a string and returning those as output in a separate column.
For example
Input 1
ID | Field 1 |
12345 | 203,311,A00,A003 |
67890 | K00,365,230,A00,A002,210 |
Input 2 (list)
code |
A00 |
A001 |
A002 |
A003 |
B00 |
E002 |
K00 |
Desired output:
ID | Field 1 | Output |
12345 | 203,311,A00,A003 | A00,A003 |
67890 | K00,365,230,A00,A002,210 | K00,A00,A002 |
Any suggestions on which tools I should use?
Many thanks!
Labels:
- Labels:
- Workflow
6 REPLIES 6
FinnCharlton
13 - Pulsar
‎06-23-2023
06:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @EstherT , this workflow should do the job. Hope it helps!
binuacs
21 - Polaris
‎06-23-2023
06:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@EstherT One way of doing this
binuacs
21 - Polaris
‎06-23-2023
06:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@FinnCharlton Are you facing any issues uploading the images of your workflow? I am getting some weird error
FinnCharlton
13 - Pulsar
‎06-23-2023
06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@binuacs yeah I am, never seen it before. Glad it's not just me
l_waldram
6 - Meteoroid
‎06-23-2023
06:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I found a previous thread with somebody with the same query, which was solved, linked here:
nagakavyasri
12 - Quasar
‎06-23-2023
10:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
