Posts: 596
Threads: 75
Joined: Nov 2015
How can i get the last line if a file?
Posts: 215
Threads: 34
Joined: Jun 2013
Reputation:
0
Can you be more specific? :/
Posts: 596
Threads: 75
Joined: Nov 2015
forexample i hava this data in a file:
Код:
Float:x
Float:y
Float:z
Float:a
how can i get the last line and delete it
Posts: 596
Threads: 75
Joined: Nov 2015
Quote:
Originally Posted by SickAttack
|
Not that,i want to delete a line which contains float too,i need a function that get the last line of the file and deletes it.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
Yes, but I think he wants a function that returns the last line of the file.
Posts: 596
Threads: 75
Joined: Nov 2015
Yeah,thats what i want.
Anyone can make it?
@Wish ****** was here