doctorjellybean
Programmer
- May 5, 2003
- 145
This thread got me thinking
I need to search in a text file for all instances of text which contains [104673]. The numbers itself are different on each line, and the amount of numbers too, e.g.
[7712]
[66436]
[104673]
[00:01.00]
So basically I need to do a wildcard search for all instances of [*] and replace it with an empty string (the [] brackets included).
Would this FastStrings.pas unit do it, or is there another way. I'm not even sure if FastStrings.pas would work in D2007.
Thank you.
I need to search in a text file for all instances of text which contains [104673]. The numbers itself are different on each line, and the amount of numbers too, e.g.
[7712]
[66436]
[104673]
[00:01.00]
So basically I need to do a wildcard search for all instances of [*] and replace it with an empty string (the [] brackets included).
Would this FastStrings.pas unit do it, or is there another way. I'm not even sure if FastStrings.pas would work in D2007.
Thank you.