Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have one list box in that remove prefix values with dynamically. see blow example,
20-3214
20-8765
200-3217
2000-8775
30-1365
60-2348
PPSE+10-7654
PPSE+20-8765
in that list box prefix have some times have Two,Three and Four times. This is problem i can't able to remove those prefix values.
Please help on this..
Regards & Thanks
Munna
Hi,
Try below code.
Load *,if(num(Value),Value,subfield(Value, '-' ,2)) as NewValue;
load * inline
[
Value
20-32145
11745
289634
467912
20-8765
200-3217
2000-877587
30-136523
60-2348
PPSE+10-7654997
PPSE+20-876534567
];
Regards
ASHFAQ
Didn't get what exactly is ur requirement ? can elaborate bit.
Didn't understand "list box prefix have some times have Two,Three and Four times" what is this mean
Then why cant you take only the last 4 characters..
Right(ColumnName,4)
Selva
Hi Selva,
i want remove before '-' Whatever values i have... like 20- ,200-,30-, 2000- so and... this values want to remove.
20-32145
20-8765
200-3217
2000-877587
30-136523
60-2348
PPSE+10-7654997
PPSE+20-876534567
Regards
Munna
Hi Manoj,
I want remove before '-' Whatever values i have... like 20- ,200-,30-, 2000- so and... this values want to remove.
20-32145
20-8765
200-3217
2000-877587
30-136523
60-2348
PPSE+10-7654997
PPSE+20-876534567
Regards
Munna
Use Subfield () string function
Hi
try this
subfield(Fieldname, '-' ,2)
Thanks
Rohit
See this sample
mid(urText,Index(urText,'-')+1)