I will try to be as specific as possible.
I have a required text plain field in a content type, say 'field_A'. This will have values of minimum 2 words, maximum 5 words. Words will be separated by spaces. I can be certain of this.
What I want, is to have another field, say 'field_B' in which I want to keep the last word of field_A. I would like this to happen automatically (upon creation of a node of this type).
I have no idea if this is possible ...
So, say I 'm adding new content of this type, and use value "lorem ipsum whatever" for field_A, upon submitting I would like the word 'whatever' to be inserted as a value in field_B.
I 'd be grateful of any help .. I couldn't find relevant info on this, it's kinda hard to describe in a few words.
Working on D8.