logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
fgolman  
#1 Posted : Monday, April 7, 2025 9:14:50 AM(UTC)
fgolman

Rank: Advanced Member

Groups: Registered
Joined: 3/30/2023(UTC)
Posts: 86
United States
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
doggy  
#2 Posted : Monday, April 7, 2025 6:43:05 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,360
Belgium
Location: Belgium

Thanks: 300 times
Was thanked: 989 time(s) in 821 post(s)
Originally Posted by: fgolman Go to Quoted Post
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"
fgolman  
#3 Posted : Monday, April 7, 2025 8:06:16 PM(UTC)
fgolman

Rank: Advanced Member

Groups: Registered
Joined: 3/30/2023(UTC)
Posts: 86
United States
Location: Chicago

Thanks: 8 times
Was thanked: 3 time(s) in 2 post(s)
Thank you.
Users browsing this topic
Guest (2)
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.