Ghost21 Posted August 28, 2007 Share Posted August 28, 2007 Can you do a stringbetween a " < -- ??? quote ??? _StringBetween($string,'"','"') will that work ? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 28, 2007 Moderators Share Posted August 28, 2007 Can you do a stringbetween a " < -- ??? quote ???_StringBetween($string,'"','"') will that work ?Did you try and it failed?Remember it returns an array. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Ghost21 Posted August 28, 2007 Author Share Posted August 28, 2007 Did you try and it failed?Remember it returns an array.yeah it doesn't respond with anythingand its the first instance in the string... Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 28, 2007 Moderators Share Posted August 28, 2007 (edited) yeah it doesn't respond with anything and its the first instance in the string...Do you have an actual example string and what you are doing to get it, or are we to guess what you are doing wrong? Edit:#include <String.au3> $sString = 'abcde"efghi"ghijk' $aArray = _StringBetween($sString, '"', '"') ;Are we an array? If IsArray($aArray) Then MsgBox(64, 'Should be efghi', 'The array returned: ' & $aArray[0]) Else MsgBox(16, 'Error', 'Nothing wrong with _StringBetween other than not ' & _ 'knowing how to use it, or the string does not have what you are looking for.') EndIf Curious you can't get it to work (would be easier with an example by you, to solve your issue). Edited August 28, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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