added the justify string function as described in ticket #612
Authored by: raph-z 2021-08-07
Parent: [r944]
Child: [r946]