Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Paknanarn23
Creator II
Creator II

I want to cut out the first letter.

If the first one is Z, cut it out, but if the first one is any other, keep it. What should I do?

Paknanarn23_0-1682491779719.png

 

1 Solution

Accepted Solutions
MayilVahanan

Hi

Try like below

If(Left(Urfield,1)  <> 'Z', Urfield)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

3 Replies
MayilVahanan

Hi

Try like below

If(Left(Urfield,1)  <> 'Z', Urfield)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Hania
Creator
Creator

Hello @Paknanarn23 ,

if you want to remove all 'Z' from your column so ,

I think  you can try it in your script.

PurgeChar("Field Name ", 'Z'

 

Hope this helps,

help user find answers ! don't forget to mark  a solution that work for you and click the like button!

Lisa_P
Employee
Employee

Use this logic ..

IF(DCE_KCEPart1 like 'Z*', Right(DCE_KCEPart1, 11), DCE_KCEPart1)