Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

substring in macro

Hi,

I am using a macro readin and writing in excel. I have a number in excel that looks like this: LR 1

now in my macro I am saving this LR 1 in a variable and then I want to split the number and just save the 1 and ignore the LR cause I need to add a number to the 1

can someone help me?

regards,

MT

1 Solution

Accepted Solutions
Gysbert_Wassenaar

right('"LR 1",1) or replace("LR 1","LR","") or see here if there's a function that matches your needs.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar

right('"LR 1",1) or replace("LR 1","LR","") or see here if there's a function that matches your needs.


talk is cheap, supply exceeds demand