Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Margaret
Creator II
Creator II

Parsing numbers from within text

In a table named FollowUps, in a Column named FollowUpAction, I have values that usually look like this

"Other action taken 9322 Counseled Appropriately"


When they look like that (Other action taken #### [further text], where [further text] is a few words that vary), I need to parse out the 4 digit number (always 4 digits) and the text after the 4 digit number into two different columns.


1) How do I do that?


2) How would I figure similar function/coding questions out if I didn't have this forum or needed an answer asap?


Thanks so much!

12 Replies
Margaret
Creator II
Creator II
Author

Hah! I got it!

I thought I was doing what you said. But since I did this:

     [Followup Immediate Action(s) Taken] as ActionTaken,

I thought I could use "Action Taken" as the new name of the field. But I guess it doesn't get renamed until the whole script loads?

Thank you SOOOO much for your persistence and assistance!!!!!

Margaret
Creator II
Creator II
Author

I didn't completely try this but thank you for taking the time to try to help me!

sunny_talwar

Not a problem

I am glad I was able to help