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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
YanivZi
Contributor III
Contributor III

How to remove chars by index?

How i remove a fixed position characters from number?  it's always the 7th and 17th characters

Original: 00678430031017007

Remove chars in red: 00678430031017007

Result: 006784003101700

 

Edit:

Iv'e tried: 

left(@12,6)&mid(@12,6,4)&mid(@12,10,3)&mid(@12,13,2) AS GushHelka,

but it did not worked because it have removed the zeros.

Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

load *,
Left(Field,6) &MID(Field,8,9) AS GushHelka;

load * Inline[
Field
00678430031017007];

View solution in original post

1 Reply
BrunPierre
Partner - Master II
Partner - Master II

load *,
Left(Field,6) &MID(Field,8,9) AS GushHelka;

load * Inline[
Field
00678430031017007];