Jump to content

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

Recommended Posts

Posted

I have a global field gEvergentAccountInfoText containing a text block with multiple lines like the following:

account.number: 9999

account.name: Smith Bakers

address.streetNum: 15

address.streetName: Adams

address.streetSuffix: RD

address.city: Fairfield

address.state: IA

address.zipCode: 50219

phoneNumber.npa:

phoneNumber.callingNumber:

I am trying to parse the individual elements using the position function. I am getting confusing results. For example:

Position ( "account.name", gEvergentAccountInfoText , 1, 1) returns 0

Position ( "address.streetNum", gEvergentAccountInfoText , 1, 1) also returns 0

What am I doing wrong?

Posted

If you're actually doing what you typed, you have the first 2 arguments reversed. The global field is first, followed by the string you're searching for.

Steve

This topic is 7911 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.