0
How to reverse string in java? without changing some string position
For examples: Input should be : hi.hello.to.the.world output should be : dl.rowe.ht.ota.llehih Position of "." should not change prom input
2 Respuestas
+ 9
https://code.sololearn.com/cE4qZAIUBA5G/#java
like that. but change the string you want to reverse or change it with user input
hope you understand it :D
+ 1
Hi baraa,
Thanks for responding
But output should be “rkabi.baa.arab”
First letter having characters, that 5 letters should replace from the last last 5 characters.but “.” Should not change