sambalec Posted December 17, 2009 Posted December 17, 2009 Hi ! How can I delete the last character (letter) from a txt file ? Thank's a lot ! Sambalec
Mat Posted December 17, 2009 Posted December 17, 2009 I think this is it... Probably not the most glamorous of solutions mind you... Local $sData = FileRead ($sFile), $hFile $hFile = FileOpen ($sFile, 2) FileWrite ($hFile, StringTrimRight ($sData, 1)) FileClose ($hFile) Mat AutoIt Project Listing
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now