Alterego Posted January 26, 2005 Posted January 26, 2005 is there any way to make this work? this doesn't do it for me: Dim $types = StringSplit("'cur_table.sql.bz2','cur_table.sql','\WP_' & $lang[$bob] & '_' & $plat[$alice] & '_TXT.txt'",',') This dynamic web page is powered by AutoIt 3.
trids Posted January 26, 2005 Posted January 26, 2005 I'm guessing you want to concatenate, adn that your &'s are incorrectly inside the ""-delimeted string, so try this: Dim $types = StringSplit("'cur_table.sql.bz2','cur_table.sql','\WP_'" & $lang[$bob] & "'_'" & $plat[$alice] & "'_TXT.txt'",',') But I'd recommend "splitting" ( ) this up to make it easier to debug: $sTypes = "'cur_table.sql.bz2','cur_table.sql','\WP_'" & $lang[$bob] & "'_'" & $plat[$alice] & "'_TXT.txt'" ;lets see if we got that right.. MsgBox (0,"debug", $sTypes) ; remove this when you're happy with $sTypes ;NOW do the split $asTypes = StringSplit($sTypes,',') HTH
Alterego Posted January 26, 2005 Author Posted January 26, 2005 awesome i'll try this out when i get home This dynamic web page is powered by AutoIt 3.
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