FireLordZi Posted February 2, 2008 Share Posted February 2, 2008 [OnlineBuddies] turnof=Dayton (6 max) | $0.25/$0.50 | Pot Limit Hold'em;~1/31/2008 at 3:47:07 PM*Online That's what my ini looks like for example. I extract the "Online" at the end from it but when I go to put it in my listview it appears as a listview item that is missing the "O". Here's my extraction method, does it have something to do with the way I stringtrimleft? $_var = IniRead("C:\buddies.ini", "OnlineBuddies", "turnof", "") $var0_ = StringSplit($_var, "~") $var2_ = StringSplit($_var, ";") $var3_ = StringSplit($_var, "*") $_status = StringTrimLeft($var3_[UBound($var3_)-1], 1) For $value_ In $var2_ $dateitems_ = _GUICtrlListViewSetItemText($nListview, 0, 0, $_status) Next While Alive() { DrinkWine(); }AutoIt Programmer Link to comment Share on other sites More sharing options...
Valuater Posted February 2, 2008 Share Posted February 2, 2008 $_var = "Dayton (6 max) | $0.25/$0.50 | Pot Limit Hold'em;~1/31/2008 at 3:47:07 PM*Online" $var0_ = StringSplit($_var, "~") $var2_ = StringSplit($_var, ";") $var3_ = StringSplit($_var, "*") $_status = StringTrimLeft($var3_[UBound($var3_)-1], 1) ; right here you are stating string trim left "1" ^^^ thats the "O" MsgBox(0x0,"", $_status) 8) Link to comment Share on other sites More sharing options...
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