jsaltzman Posted October 15, 2003 Posted October 15, 2003 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?
-Queue- Posted October 15, 2003 Posted October 15, 2003 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now