Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

i have a list of books. each record has 4 fields

title

price

listing id

author

right now each record has the title and author in the title field.

ie:

The Peppered Moth by Drabble, Margaret

what can i do to move all text starting at "by" and ending at the end of the field, into the author field?

Posted

Set Field ["author", "Right( Title, Length( Title ) - Position( Title, " by ", 1, PatternCount( Title, " by " ) ) - 3 )"]

The PatternCount() portion ensures that only the last " by " is used, allowing for "All By Myself", etc. as a title.

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