- Saul Erhmy
- .NET DataStore
- Monday, 17 October 2022 09:01 PM UTC
Hi,
I am doing a retrieve on a datastore and then exporting the datastore into a string and writing to text file. When I open the text file I get these weird Red Nul Characters.
When I print to console, it prints as " ".
When I check string.Contains(" "); it doesn't contain it.
When I check string.Contains("); it does contain it.
So its weird it prints to console as " " and not as "" and whats even weirder in the txt the same string prints as a red Nul
I know I can loop through each row ( i have 200,000 rows) and remove the "" string by doing dataStore[i].ColumnName1, datstore[i].columName2 ... datastore[i].columnName75. My goal is to avoid writing down all 75 datastore properties and checking if any of them contain that character and keep the same formatting in my text file. In other words instead of the red Nul just print as "" in my .txt file and keep everything else as is.
If anyone could please help me with this I would really appreciate it.
Thanks,
Saul
edit: When I do this same retrieve in PB 2022 my file isn't filled with Red Nuls.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.