Jump to content

This topic is 4606 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a field: INPUT, and fields for Property Name, Address, City, State, Zip and Phone.

I'm trying to parse this standard format for each record into the fields above:

Complex Name: Property ABC

Complex Address: 123 Main Street

Complex City, State Zip: Miami, FL 12345

Complex Phone: 123-456-7891

If it matters, some of the phone numbers have extensions added as well.

Also, when I paste this section into a field, the paste shows up like this:

Complex Name:

Property ABC

Complex Address:

123 Main Street

etc.

It basically has a carriage return, and then 1 tab over to the info.

Any advice would be greatly apprecaited... Thanks!

Posted

See something quite similar here:

http://fmforums.com/...332#entry369332

That works great for the Name, Address, Phone fields, but I'm not sure how to parse the data in the City State Zip field. I'd like it to some how say "the city field prefix is Complex City, State Zip:, but before the comma is the City, After the 2 letter code after the comma is the state, and the last part which is 5 numbers is the zip.

Any idea on how to do that?

Thank you, you are a great help.

I may have done it before, less the zip code, I just can't figure it out...

Posted

Well, for the City the start point is the position of the complex prefix + its length, while the end point is the first comma after that, i.e.

end = Position ( RawText ; "," ; start ; 1 )

etc.

This topic is 4606 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.