0

I have a string with multiple comma delimiters.

For example Test,User,Data,List

I need to pull the data between the delimiters into a variable, what's the best way to accomplish this in a single command. The application I'm using allows for using VBScript, but I can't do this using multiple lines, just a single nested command.

Thanks

1
  • Your question is rather unclear. Use Split(...) to put your data into an array. Commented Sep 24, 2020 at 23:25

1 Answer 1

1

I'm thinking this is what you're after?

splitString = Split("Test,User,Data,List", ",")
Sign up to request clarification or add additional context in comments.

1 Comment

I ended up using Split even though I was trying to parse it into a string, not an array. I thought that the application I was using wouldn't let me use the Array type, but it did, so thank you for your input.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.