How can I crop unneeded chars, and only output what I need? For example:input:    ASDFQWERoutput:    DFQI mean in this case I need only the 3.-4.-5. chars of the string. How do I do that?
How to output only given chars?
bash
Use echo ${string:index:length} for your example x=ASDFQWERecho ${x:2:3}