Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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