on 05-01-2008 3:29 PM
hi,
I am doing File to file scenario.but the situation is like this
the input in the text file will be abc~~xyz and the output should be taken as
abc~ as 1st field and xyz as 2nd field and second ~ as Field seperator.
how can i do this.can i use fieldFixedLengths and fieldSeperator both..
then which one will have higher priority?
hi ,
you can do this by using only "fieldFixedLengths".if u give both operators then
it will take fieldifixedLengths only into consideration.it ignores the
second ~.so if u give the fieldFixedLengths then what ever the fieldSeperator
it will ignores that and will give ur 2 fields as u like
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to use fieldFixedLength alone.
since ~ occurs twice you cannot split the word.
Record.FieldFixedLength=4,3
Record.fieldNames=f1,f2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.