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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
santhana
Contributor III
Contributor III

Substring word identifying

Image.JPG

Hii to all My Qlik friends

I am facing issue  to identify the four character inside the slash /  if there is found four character then the four character to be removedand the slash if there is three word then its okay as below values

1 Reply
nsetty
Partner - Creator II
Partner - Creator II

Try this....

tempdata:

load

*

Inline

[

StringData

123/1234/123/1234/123//

];

TransformedData:

Load

*,

If(Len(TextBetween(StringData,'/','/'))=4, Replace(StringData, TextBetween(StringData,'/','/'), ''), StringData) as NewD

resident tempdata;