on 05-14-2009 3:55 PM
Hi All,
I am using the Seeburger adapter and modules to process the Input EDI message. The input message comes with a new line character after every 80 characters. Hence the Seeburger modules throw an error while reading the file. I tried using the /Seeburger/ReplaceString module. In module config, it has 2 parameters - searchString and replaceString. It works for any special characters like "#" or '!' , but does not replace the NewLine character. I used '\n' , '\r' , '0x0A' , '0x0D', '0D0A' and none of them worked. Can anyone please suggest what character needs to be used in the Module Config?
Thanks,
Geetha
Used the Seeburger Config and removed characters equal to '\n\r'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have done it in other way by relacing "~" with new line within UDF. We can try to replace the corresponding values 13 and 10.
Basically, the code to add next line characters is:
inputString.append( ( char ) 13 );
inputString.append( ( char ) 10 );
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I have even tried that.
Thanks,
Geetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you tried 'nl' for new line?
Regards,
Prakasu.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.