Please guys, come on now, I've been using Textpad for... well, centuries (it's true, I started using it in the twentieth century!). And the one thing that gets me, time after time after time, is the strange inability of Textpad to deal with null characters in any text data.
I understand that you might not like to search for strings containing null characters, nor would you want to insert nulls in any search text for any sane reason I can think of.
But it would be the work of less than a minute to include a function to strip (or replace) nulls in any loaded file, it will work in almost any data that textpad can deal with, and if you don't use it, you won't even notice it.
I've written a standalone "null stripper" that I run on problem text before I even think about using Textpad to edit the same data! And I wrote it in 1991, and I'm still using it! Why?
Seriously, sealing with lots of beta software and xml and other parsers, null characters can accidentally be inserted into the text, and all I want is a function to either remove the nulls entirely, or replace the null character with a character or character string.
I can write the code to do this simple trick in any language, so please consider including a null-nuller in future versions of Textpad. It's seriously driving me batty - I only ever have to use it rarely, but when I need it, I need it bad, baby. I'm hand-editing a 23megabyte xml file at the moment with nulls inserted before some xml tags, and I know I can't search for the nulls, but I just want to delete the suckers, but I can't within Textpad, so I've had to rewrite my null-stripper to handle larger text streams, which took me about 40 minutes. But you can do it quicker, and then you never have to do it again! And never have to put up with me again, that's gotta be worth it!
PLEASE FOR GOD'S SAKE ALLOW NULL REMOVAL/REPLACEMENTS!
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Thanks!
Taa-daaa! Congratulations Ben, you win this hour's "Make Pete look like a complete dill" prize! Your cheque's in the mail. (I should stop running the competition, it's costing me a fortune ).
What makes your perfectly correct answer worse, is that I've been using the regexp options for a heap of other stuff (tabs, newlines, accented characters) for years. Sigh.
I'll just go crawl back under my toadstool. But thanks dude!
What makes your perfectly correct answer worse, is that I've been using the regexp options for a heap of other stuff (tabs, newlines, accented characters) for years. Sigh.
I'll just go crawl back under my toadstool. But thanks dude!