Can you use string as horizontal expansion

Jeez, I don’t really know, sorry.