Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to identify byte length

Hi Friends

I have two text files with first lines as 12345 and 1234567.

I need to run the script if the line is of length 1234567 only.

Is there any script that gives us the length of first line??

Thanks

Pavan


1 Solution

Accepted Solutions
terezagr
Partner - Creator III
Partner - Creator III

Try to solve it with the len function

if(len(fieldName)=7, run script, otherwise nothing)

View solution in original post

2 Replies
terezagr
Partner - Creator III
Partner - Creator III

Try to solve it with the len function

if(len(fieldName)=7, run script, otherwise nothing)

saumyashah90
Specialist
Specialist


This might help