VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get an Array of string from Command$

Nik Keso  (1 Submission)   String Manipulation   Intermediate   Wed 3rd February 2021

This function returns an array with the command line arguments,
contained in the command$, like cmd.exe does (with %1 , %2 ...)
If the function does not succeed, the returned array has Ubound=-1 , like split function in VB.

Inputs
INPUT: comSTR = the string with the arguments (command$)

Assumes
Just copy and paste the code in your project.

Returns
OUTPUT: Array of string with the arguments

Rate Get an Array of string from Command$ (2(2 Vote))
Get an Array of string from Command$.bas

Get an Array of string from Command$ Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters