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

# Re: Question

- Date: Fri, 22 Dec 1995 17:05:38 PST
- From:
- Cc: moo-cows@parc.xerox.com
- Content-Length: 393
- Content-Type: text
- In-Reply-To: <30db508e45bd002@gold.tc.umn.edu> from "James Renken" at Dec 22, 95 04:42:55 pm

    >
    > How do I make
    >
    > /foo/bar/baz
    >
    > into
    >
    > $whatever:something("foo", "bar", "baz");
    >
    > ?
    >

    ;$string_utils:explode("/foo/bar/baz", "/")
    => {"foo", "bar", "baz"}

    $whatever:something(@$string_utils:explode("/foo/bar/baz", "/")) should
    do the trick.  Just use $string_utils:explode to convert the string
    into a list, separating it at the given character.

    Hope this helps!

    --Nate

References:

- Question

- From: "James Renken" <renk0006@gold.tc.umn.edu>

- Prev: Re: Question
- Next: Re[2]: Parsing
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index