Raised This Month: $ Target: $400
 0% 

Solved Remove line from file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 02-12-2022 , 09:33   Re: Remove line from file
Reply With Quote #1

Quote:
Originally Posted by OciXCrom View Post
Try removing the +1 in the loop.
Code updated.
It's work like delete all lines except for who are not expired but i think it is not helpful because if someone put this symbol ; for disabling something will be deleted too.

Exmaple:
Quote:
#Confing file

"Pro1" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2018 00:00:00"
"Pro2" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2019 00:00:00"
;"Pro3" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2020 00:00:00"
"Pro4" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2021 00:00:00"
"Pro5" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2022 00:00:00"
"Pro6" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2023 00:00:00"
;"Pro7" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2026 00:00:00"

Quote:
"Pro5" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2022 00:00:00"
"Pro6" "123+" "abcdefghijklmnopqrstuvwxy" "12/31/2023 00:00:00"
Is there another way to do that ? or what is the wrong i did in stock that i mentioned in the first post
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 02-12-2022 at 09:34.
Supremache is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode