Thanks for the suggestion. I will try this tomorrow and report back.
On Jul 25, 3:46 pm, Islon Scherer wrote:
> Do you want something like:
> (vec (.split some-string "\\|"))
>
> (vec (.split "AT|1 Kenilworth Rd||Soapville|ZA|99901-7505|Option value=A ==>
> Normal street matchOption value=T ==> Z
Thanks. I finally got part of my problem when I changed the regex to
#"\d\d\d\d\d-\d\d\d\d" to match the zip-zip4, and when that
disappeared, I realized what was going on.
On Jul 25, 3:51 pm, Tassilo Horn wrote:
> octopusgrabbus writes:
>
> Hi!
>
>
>
> > What I want to do is take the zip-zip4 fi
octopusgrabbus writes:
Hi!
> What I want to do is take the zip-zip4 field, split the zip and zip 4
> apart, and add them as separate fields right after state ZA. I want to
> do some other things too (like remove from Option value... through
> 013), but that's the next step.
>
> This function
>
>
Do you want something like:
(vec (.split some-string "\\|"))
(vec (.split "AT|1 Kenilworth Rd||Soapville|ZA|99901-7505|Option value=A ==>
Normal street matchOption value=T ==> ZIP+4 corrected|013|C065|" "\\|"))
=> ["AT" "1 Kenilworth Rd" "" "Soapville" "ZA" "99901-7505" "Option value=A
==> Norma
I have a web application that returns data that is pipe-delimited and
looks like this:
AT|1 Kenilworth Rd||Soapville|ZA|99901-7505|Option value=A ==> Normal
street matchOption value=T ==> ZIP+4 corrected|013|C065|
What I want to do is take the zip-zip4 field, split the zip and zip 4
apart, and ad