Configurator: string optimization
Signed-off-by: iGio90 <giovanni.rocca.90@gmail.com>