Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Experts,
I have one GL FIeld in that values are like below
0011101033
08546880
000111222333
Required Output
11101033
8546880
111222333
Note : I have checked with Num and Num # Function .
Thanks,
Arvind Patil
Replace(LTrim(Replace(YourField, '0', ' ')), ' ', '0') as [YourFieldWithoutLeadingZeros]
Replace(LTrim(Replace(YourField, '0', ' ')), ' ', '0') as [YourFieldWithoutLeadingZeros]
its working for me
load * ,num(aaa) as new;
load * Inline
[
aaa
0011101033
08546880
000111222333
];
or try this
LOAD *, Number8digit+0 As Number;
LOAD * Inline [
Number8digit
00000978
00001524
00001024
00012356
];
this also you can try
Load
NUMBER,
Num(NUMBER) as NUMBER1,
NUM(Right(NUMBER, Len(NUMBER)-FindOneOf(NUMBER, '123456789')+1)) as NUMBER2
Inline
[
NUMBER
00000978
00001524
00001024
00012356
];
No its not working for me.
Thanks,
Arvind Patil
can you share sample file or screen shot of what are you trying???
Regards,
Prashant
Hi Michele,
Thanks for prompt reply it works for me .
But I am very enthusiastic to understand why num and num # not worked.
Thanks,
Arvind Patil
HI Chanty,
I tried your answers but it wont work for me.
Thanks,
Arvind Patil