Skip to content
Discussion options

You must be logged in to vote

Unfortunately, there's no built-in way to do complex string manipulations like that. One creative (although complicated) solution might be to use the new "formatted modify" functionality (#488) together with the inline plugin. That is, you could define an inline field like $truncated_comments to be comments.split(',', 1)[0] or similar and then do beet modify comments=$truncated_comments. Could work!!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arsaboo
Comment options

Answer selected by arsaboo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants