String to array of string array

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

How can I cast a string variable to a one element string array of one
dimension? I need this to pass a string value to a sub that accepts an array
of string as parameter.

Thanks

Regards
 
John,

You cannot cast a string to an array of strings, you even cannot convert it,
the only thing you can do is set a string in a string array.

While as that is a one elemenet string array then it is.

TheArray(0) = TheString

Cor
 
Back
Top