- May 31, 2002
- 71
- 0
- 0
I am writing a little website and I have to grab a certian piece of text out of another .htm file and insert it into the current page that is being displayed. I am able to open the file and save it into an array but I am having trouble figuring out how to search for the certain text. I have to search through the this file and find a certian piece of text which is unique and then delete from it on out. For example if I was searching this
asdasdasdxasdasd
dsfsdfsdfsdfxsdfsdf
I would need to search for the x and delete everything from the x and right. does this make sense?
I know how to grab the array line so I will be working iwth single lines of code.
any help would be greatly appreciated.
asdasdasdxasdasd
dsfsdfsdfsdfxsdfsdf
I would need to search for the x and delete everything from the x and right. does this make sense?
I know how to grab the array line so I will be working iwth single lines of code.
any help would be greatly appreciated.