Tom D
Tom D

Reputation: 361

How to get string between 2 characters using VBScript

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

Upvotes: 0

Views: 726

Answers (1)

Nick
Nick

Reputation: 36

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

splitString = Split("Test,User,Data,List", ",")

Upvotes: 1

Related Questions