I am scanning a qrcode and when the qrcode returns a result what is the best way to select only some text

I’m scanning a qrcode and i am getting a long text result back but only one part of the text what’s the best way to slice/cut/select part a text. Just want to see if anyone has an easy solution…

i have been trying to figure out that for a long time but there are some workarounds if you can tell me what you app is for I can help you more

You can use an external service like make.com or zappier