1. Tab Delimited
- Posted by mistertrik at hotmail.com Jul 29, 2002
- 418 views
This is a multi-part message in MIME format. ------=_NextPart_000_6678_cfd_56f I've made a simple library for manipulating tab-delimited records. It's very useful for manipulating text files before you import them into another database program, like access or something. I made it for work, cause this one file had a date format that access didn't recognise, so it was used to read in, change, and write back about 450 thousand records. :) I know that there is a proper database.e, and a miriad of other solutions to data manipulation, but given their complexity, this was a much more appropriate solution. Can someone comment on the usefullness of this lib? ===================================================== .______<-------------------\__ / _____<--------------------__|=== ||_ <-------------------/ \__| Mr Trick ------=_NextPart_000_6678_cfd_56f Content-Type: application/octet-stream; name="tabdat.e"
2. Re: Tab Delimited
- Posted by Kat <gertie at PELL.NET> Jul 30, 2002
- 429 views
On 30 Jul 2002, at 13:53, mistertrik at hotmail.com wrote: > This is a multi-part message in MIME format. > > ------=_NextPart_000_6678_cfd_56f > > > I've made a simple library for manipulating tab-delimited records. > > It's very useful for manipulating text files before you import them into > another database program, like access or something. > > I made it for work, cause this one file had a date format that access didn't > recognise, so it was used to read in, change, and write back about 450 > thousand > records. :) > > I know that there is a proper database.e, and a miriad of other solutions to > data manipulation, but given their complexity, this was a much more > appropriate > solution. > > Can someone comment on the usefullness of this lib? strtok was made for this work. Kat
3. Re: Tab Delimited
- Posted by mistertrik at hotmail.com Jul 30, 2002
- 400 views
>strtok was made for this work. Oh. ok. I'm like the second inventor of the wheel. :P Oh well, it serves well enough for me, and *I* understand it, so that's the important bit. ===================================================== .______<-------------------\__ / _____<--------------------__|=== ||_ <-------------------/ \__| Mr Trick
4. Re: Tab Delimited
- Posted by Kat <gertie at PELL.NET> Jul 30, 2002
- 393 views
On 30 Jul 2002, at 21:50, mistertrik at hotmail.com wrote: > > >strtok was made for this work. > > Oh. ok. I'm like the second inventor of the wheel. > > :P > > Oh well, it serves well enough for me, and *I* understand it, so that's the > important bit. No problem, you don't haveto use strtok, and the source code is out there for you. But there is a lot of new work in it since first released two years ago, and it should be able to do anything you want. functions: parse deparse instok istok remtok deltok findtok gettok addtok puttok / changetok reptok / repltok matchtok matchntok wildtok wildntok sorttok sortntok and these come in non-case-sensitive versions too, and most can use sequences (or nested sequences even) in the parameters. For your use, the sort functions might be handy too, trick. Kat