[Prev][Next][Index][Thread]

# Re: Parsing

- Date: Sun, 26 Nov 1995 19:18:10 PST
- From:
- Cc: renk0006@gold.tc.umn.edu, moo-cows@parc.xerox.com
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=US-ASCII
- In-Reply-To: <Pine.SUN.3.91.951126211751.27596A@lance> from "david@castle.net" at Nov 26, 95 06:26:13 pm

    > Ya, (Im typing this out real quick so this might not work, but it should.
    > I'm sure there there are programmers out there who would hand you a much
    > better peice of code than this but it will do.

    [code deleted]

    > Umm...I beleive this should work.  this is assuming it will only be
    > getting three words....if you need it to do more than three words then
    > that of course will have to be re-written.

    If you're using a LambdaCore based db, why not just use

     $string_utils:explode("/pub/foo/bar", "/");

    (substitute string needed for "pub/foo/bar")

    This returns:

    => {"pub", "foo", "bar"}

    See "help $string_utils" for more detailed information
    (Similarly, it's a good idea to check the help on $list_utils, $code_utils,
    etc) for functions which may already perform the action(s)
    you want.

    Chuck
    --
    Charles Shepherd cshepher@cs.indiana.edu

References:

- Re: Parsing

- From: david@castle.net

- Prev: Re: Parsing
- Next: Re: Parsing
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index