Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a data field which consists of delay reason and department name in an one data row.
Eg:
Long Text |
---|
Shade Issue * Dying |
No Greige * Aw Greige |
I want to read above data field and need to load data in to two columns as below.
Long Text | Delay Reason | Department |
---|---|---|
Shade Issue * Dying | Shade Issue | Dying |
No Greige * Aw Greige | No Greige | Aw Greige |
Please help on this..
If your special character is always '*', you can try like:
Load
SubField([Long Text], '*' , 1) as [Delay Reason],
SubField([Long Text], '*', 2) as Department
If your special character is always '*', you can try like:
Load
SubField([Long Text], '*' , 1) as [Delay Reason],
SubField([Long Text], '*', 2) as Department
use below code
For Delay reason:- subfield([Long Text],'*')
for Department:-(subfield([Long Text],'*',2)
thanks
rohit
It works !! Thanks alot