Update2:
i inserted the sedcommand with [^[:graph:]] but it does not change the out.
for UKWID in 123 456 678; do
result="$(mysql -r --column-names=0 -e "SELECT String FROM Table WHERE id = $UKWID")"
echo "$result" | sed 's/^[^[:graph:]]*//;s/[^[:graph:]]*//' | cat -E
done
+stringA +stringB $
+stringc +stringx $
+stringe +stringf $