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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
rohit214
Creator III
Creator III

how to eliminate first 4 char.

Hi  all,

I want to eliminate 1st 4 char fropm my customer name field

eg.Mr. Xyz I want only Xyz

thanks&regards

rohit

3 Replies
CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

     Have u tried with this?

     Load

          Right(CustomerName,Len(CustomerName)-4) as CustomerName

     From..

Hope it helps

Celambarasan

jagan
Partner - Champion III
Partner - Champion III

Hi,

The Script below works fine as Celambarasan suggested

Load

          Right(CustomerName, Len(CustomerName) - 4) as CustomerName

          '

          '

From DataSource;

Regards,

Jagan.

SunilChauhan
Champion II
Champion II

Use this

mid(Customername,5,len(Customername)-1)

hope this helps

Sunil Chauhan