Write to the file
#1

Hi,

I need advice on how I can write data to a file that is checked in the end but the beginning .. example:

I have the file test.txt

Код:
tralala tralala
valala Malal
salal alalala
Akaka Macaque
vakaka Sakaki
and I attributed

Код:
lalala papapa
make it look like this

Код:
lalala papapa
tralala tralala
valala Malal
salal alalala
Akaka Macaque
vakaka Sakaki
help me please ? .. sorry for my english, by translate.******
Reply
#2

I do not understand you, please try to be more clearly.
Reply
#3

...i need write text to the file on TOP / START file ..write text on the FIRST LINE ...

before

tralala tralala
valala Malal
salal alalala
Akaka Macaque
vakaka Sakaki

write lalala papapa

after:

lalala papapa
tralala tralala
valala Malal
salal alalala
Akaka Macaque
vakaka Sakaki
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)