Hi Mike.
Which values - besides (pending) - are possible for the fourth,
optional, item?
Elan
Mike Weber wrote:
>im brand new to Rebol and not getting the hang of string parsing
>
>for example: assume i have string
>fcontents
>== {09/29/03 ATM/POS ACTIVITY $28.68 (pending) 09/29/03 ATM/POS ACTIVITY $11.41
>09/29/03 ATM/POS ACTIVITY $
>21.71 ...
>
>i would like to convert this string into a set of blocks where each block has 4
>elements of the types [date string money string] (the 4th element is optional
>[09/29/03 "ATM/POS ACTIVITY" $28.68 (pending)]
>[09/29/03 "ATM/POS ACTIVITY" $11.41 ]
>[09/29/03 "ATM/POS ACTIVITY" $21.71 ]
>
>
>i've been plodding around trying to get anything to work, like
>
>find/any fcontents ["09/*/03"]
>
>but im not understanding how to isolate the elements
>
>i suspect i should be able to create something akin to a regular expresion that i can
>use as a pattern to apply to the string
>
>
>
>
>
--
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.