Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello people, I want the followi

Status
Not open for further replies.

Kocky

Programmer
Oct 23, 2002
357
NL
Hello people,

I want the following. I get a string from an external device which is put in a string variable called Buffer.
Now I want to filter values from this string.
The string looks like this:

'Ch.: 01 Tag : C220 ID : 000030107 00002F63CC'

I want to store the value 01, C220 and
000030107 00002F63CC into several variables. How do I do this ? In the C language you have the function strstr to search for a substring but can't find it in Delphi.

Thanx
 
The functions you are looking for are
Code:
 Pos
and
Code:
 Copy

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top