Jump to content
Sign in to follow this  
Alterego

sticking variables/arrays inside an array

Recommended Posts

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" ( :lmao: ) 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

o:)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...