on 11-28-2023 4:47 PM
I have a flat file with NUL characters. I want to load data from this file. The data gets cut off once the NUL is encountered. How to load the file without losing any data. NUL is represented as `0 in powerShell. Below is a screen shot from notepad++. This NUL character is not seen on Windows notepad.
In the above screen shot the Line 1 and Line 2 gets cut off after the NUL part (' Second part' does not get loaded). The Line 3 is fully loaded.
Thank You.
Try using the replace_substr function. Example: replace_substr(YourColumnName,chr(0),'')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.