Dark_Raver Posted July 14, 2008 Posted July 14, 2008 probably realy simple but i cant find the solution muttley the first 2 words are allways the same (it retrieves the string from a textfile) and those need to be removed i tried to find a solution to this numerous times but never found it any help is apreciated
flyingboz Posted July 14, 2008 Posted July 14, 2008 (edited) look at StringReplace and or StringTrim.. one way: $string = StringReplace($string,"two words","") edit:removed unnecessary quoted text. Edited July 14, 2008 by flyingboz Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.
monoceres Posted July 14, 2008 Posted July 14, 2008 (edited) So..? $string="Hello World!" $string=StringTrimLeft($string,6) MsgBox(0,"String",$string) muttley Edit: Meh! Edited July 14, 2008 by monoceres Broken link? PM me and I'll send you the file!
Dark_Raver Posted July 14, 2008 Author Posted July 14, 2008 ghaghga muttley i never saw that function now im ashamed of myself ._. thank you guys
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