Hi All,
There are multiple ways to remove additional spaces from a string. like split string by spaces then combine again with one space. Just wanted to check if there any other simple way to do this.
Requirement - remove additional spaces from string.
Example - "Devendra Kumar Prajapati" should be converted to "Devendra Kumar Prajapati"
------------------------------
Devendra Kumar Prajapati
RPA Manager
Infosys
Chandigarh, India
------------------------------
Devendra Kumar Prajapati
RPA Manager
Infosys
Chandigarh, India