Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
jenstarr
New Contributor III

Pulling out part of the ID code

I need to be about to pull out part of an ID.  In the example list below I would need to pull out the numbers in the text string 11190 or 1995, what is the best why to do this?

Thanks,

Jen

SUB-2Y-11190-R
SUB-2Y-11995-R-DA
SUB-M-1995-R-AD
SUB-M-1995-R-BW
Tags (1)
1 Solution

Accepted Solutions
mwoolf
Honored Contributor II

Re: Pulling out part of the ID code

subfield(ID,'-',3) as Whatever

1 Reply
mwoolf
Honored Contributor II

Re: Pulling out part of the ID code

subfield(ID,'-',3) as Whatever

Community Browser