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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Trim string

Hi.

I have a field with some values and every row starts with "01., 02., ....16." that I want to remove.

What is the best solution?

5 Replies
jerem1234
Specialist II
Specialist II

Try:

mid(FIELD, 4)

As an example:


01.test1 would get test1


Hope this helps!

Anonymous
Not applicable
Author

Bjorn

To remove the first 2 characters use :

     mid( [YourField] , 3 )

Best Regards,     Bill

jerem1234
Specialist II
Specialist II

Could also try Subfield(FIELD, '.', 2)

Nicole-Smith

Another option...

=right(YourField, len(YourField)-3)

rustyfishbones
Master II
Master II

You could try SUBFIELD

SUBFIELD(YourField,'.',-1)