Split
Simon Lord
slord at marelina.com
Wed Jun 2 03:07:43 EDT 2004
Helps big time. Thanks very much for the clarification.
On Jun 2, 2004, at 1:56 AM, Ken Ray wrote:
> <pd> is "primary delimiter" (and <sd> is "secondary delimiter").
>
> Here's a simple example where you can take a list of people's names
> and put
> them into a numerically indexed array:
>
> put "Ken,Simon,Richard,Harry" into tPeople
> split tPeople using ","
> -- tPeople is now an array that holds 4 elements
> put tPeople[1] -- puts "Ken"
> put tPeople[2] -- puts "Simon"
> put tPeople[3] -- puts "Richard"
> put tPeople[4] -- puts "Harry"
>
> HTH,
>
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
>
>> -----Original Message-----
>> From: metacard-bounces at lists.runrev.com
>> [mailto:metacard-bounces at lists.runrev.com] On Behalf Of Simon Lord
>> Sent: Tuesday, June 01, 2004 11:04 PM
>> To: MetaCard
>> Subject: Split
>>
>>
>> I'd like to learn a little about how Metacard's split
>> function works.
>> I tried reading the reference stack but I'm unsure about what
>> it means
>> to split a variable *using <pd>*.
>>
>> What's <pd>?
>>
>> If the responder can provide a real-world sample it'd be much
>> appreciated.
>>
>> Sincerely,
>> Simon
>>
>> _______________________________________________
>> metacard mailing list
>> metacard at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/metacard
>>
>
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
>
Sincerely,
Simon
More information about the metacard
mailing list