Guest_imported
New member
- Jan 1, 1970
- 0
hello all. Anyway, my question for you all is about writing to a specific line , or after a specific charator(s) in a text file. I am currently writing a simple html generator, and there is a text box in which you will type the body of the html file. what i am wanting to do is this: when the document is saved, the program should automaticaly write:
<html>
<head>
</head>
<title>
on the form, there will be a place to enter the title of the web page, and that entry field will place the text contained in it after the title tag, then it will place </title> after that. then the program will automatically write:
<body>
to the html file. in the text box you wil type what you want the body to say. when you save, the program will insert:
</body>
at the end of the html file.
my question is... HOW DO I DO THIS??? [sig][/sig]
<html>
<head>
</head>
<title>
on the form, there will be a place to enter the title of the web page, and that entry field will place the text contained in it after the title tag, then it will place </title> after that. then the program will automatically write:
<body>
to the html file. in the text box you wil type what you want the body to say. when you save, the program will insert:
</body>
at the end of the html file.
my question is... HOW DO I DO THIS??? [sig][/sig]