Re: Parsing text value
- From: "Charles E. Vopicka" <chuck@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 24 Jul 2006 15:44:46 -0600
check out the split function
split(MyField,"-")(0)
and
split(MyField,"-")(1)
for left and right of the -. if you don't specify the array position you will have a string array returned. i couldn't live with out the split function.
cherman wrote:
I have a field that contains 2 separate appended values separated by a " - ". That's a "space-space"
The data to the left and right of the - can be any length and contain any number of characters.
I'm trying to parse this so I can retreive the data to the left and to the right. The " - " will always be there.
Can anyone help me with this?
--
Charles E. Vopicka's (Chuck) : chuck@xxxxxxxxxxxxxxxxxxxx
Database Management, GIS Specialist and Research Assistant
Forest Biometrics Research Institute
University of Montana - College of Forestry and Conservation
Missoula, MT 59812
United States of America
Phone:
(406)243-4526
(406)243-4264
(406)549-0647 (Home)
:-) HAVE A NICE DAY (-:
"UNLESS" (The Lorax, by Dr. Seuss)
.
- Prev by Date: Re: #Name? Error when using format functions
- Next by Date: Re: Date format and Trim function errors
- Previous by thread: Re: #Name? Error when using format functions
- Next by thread: Re: Date format and Trim function errors
- Index(es):