Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Parsing hostnames Re:

From: mike:yaunish:home at: 16-Oct-2000 9:13

At 01:33 PM 14/10/00 -0500, you wrote: Try this:
>> hoststring: "rebol.dyndns.org"
== "rebol.dyndns.org"
>> first parse hoststring "."
== "rebol"
>> >How do you parse a hostname only to return the first portion. For example: > > hoststring: rebol.dyndns.org > >I would only want to return the portion up to the first "." which would be >"rebol" in this case. > >Paul Tretter
Mike Yaunish [mike--yaunish--home--com]