How to extract only part of a field using a macro
Learn how to extract only parts of a field using a metadata macro
Extracting parts of a field
If you want to extract part of a field, you can make a metadata macro that will take a certain number of characters from the beginning of the content in that field.
Example
You have a date field that contains a date formatted like this:
1972/08/08
Your aim is to extract the year only and put it into another field.
In the screenshot below we want to take the year from field #055 (iptc created date) and put it into field #011.
In "Field Content", first enter the field code, then an exclamation mark "!" followed by the number of characters you want to extract.
What this is actually saying is " extract the first four characters from field 55 and put them into field 11".