Xojo Conferences
MBSOct2019CologneDE

[OOPS] Re: Parsing text file (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: REALBasic 4/4.5 Carbon Editfields
Next thread: Parsing text file


Parsing text file   -   Mike Tuller
  [OOPS] Re: Parsing text file   -   Tyson Tate

[OOPS] Re: Parsing text file
Date: 31.05.02 20:22 (Fri, 31 May 2002 12:22:12 -0700)
From: Tyson Tate
The code I posted before would return everything after the name you want so
just do this instead:

Parse(s as string) as string
Begin sub
return nthfield(replaceall(nthfield(s, "APPLETALK_HOSTNAME=", 2),
chr(34), ""), chr(13), 1)
End sub