Swap text in text input


I want to setup to wrap text at the end of line in text input, please tell me how to do it.

Thanks & Best Regards,

Which input are you using? There is a single input and a multiline input.

I use single input