Shonnie Posted November 10, 2007 Share Posted November 10, 2007 $level = StringSplit(_IEBodyReadText($oIE), @CR) $level1 = StringSplit($level[2], ":") $level2 = ($level1[2] - ")") MsgBox(0, "", "Level: " & $level1[2]) ExitWell, it works for the most part, in the message box it says Level: xx)Don't want a ')', So I added - ")" which I figured would work Doesnt, searched some posts on the forums here, nothing came up Link to comment Share on other sites More sharing options...
picaxe Posted November 10, 2007 Share Posted November 10, 2007 (edited) This will remove one or more ")" in $level2 $level2 = StringReplace($level2, ")", "") Also I don't think you can remove a character from a string using that syntax Edited November 10, 2007 by picaxe 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