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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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