Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
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;