That is what I finally did with my limited knowledge in jQuery (and it works fine !). But I was looking for a "cleaner" solution using Seblod functionalities ..
Glad you figured it out. Unfortunately I don't know of a cleaner solution.
There is Simons SD Live plugin that can take values of any fields and insert them into another field. But I don't think that his plugin allows string manipulation.