vMix Forums
»
General
»
General Discussion
»
Using VB String functions in scripts
Rank: Advanced Member
Groups: Registered
Joined: 3/30/2023(UTC) Posts: 86  Location: Chicago Thanks: 8 times Was thanked: 3 time(s) in 2 post(s)
|
I must be missing something very basic.
Attempting to parse some network received data.
It likely will come in like this:
PHONE: name, location
I'm attempting to first, determine if the left five characters are "PHONE" and if so then to pull the next characters up to the comma as one variable and the rest as a second variable.
Any thoughts on how to accomplish this?
I keep getting errors when attempting to use basic VB string functions, like LEFT ... left(string,number of characters to return)
How can I accomplish these actions without basic string functions?
Thanks!
Fritz Golman RadioDNA
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,360  Location: Belgium Thanks: 300 times Was thanked: 989 time(s) in 821 post(s)
|
Originally Posted by: fgolman  I must be missing something very basic.
Attempting to parse some network received data.
It likely will come in like this:
PHONE: name, location
I'm attempting to first, determine if the left five characters are "PHONE" and if so then to pull the next characters up to the comma as one variable and the rest as a second variable.
Any thoughts on how to accomplish this?
I keep getting errors when attempting to use basic VB string functions, like LEFT ... left(string,number of characters to return)
How can I accomplish these actions without basic string functions?
Thanks!
Fritz Golman RadioDNA
google search "vb.net substring"
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/30/2023(UTC) Posts: 86  Location: Chicago Thanks: 8 times Was thanked: 3 time(s) in 2 post(s)
|
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Using VB String functions in scripts
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close