This function is
1 point
used to remove all the blank
spaces except single blank
spaces between two words.
O Proper()
O Trim()
O Fixed ()
! O Len()
Answers
Answered by
0
Answer:
trim()
Explanation:
please mark brainliest
Answered by
0
Answer:
Input:
str = " Hello Geeks . Welcome to GeeksforGeeks . ";
Output:
"Hello Geeks. Welcome to GeeksforGeeks."
Input:
str = "GeeksforGeeks";
Output:
"GeeksforGeeks"
(No change is needed)
This problem is an extension of Remove spaces from a given string
Recommended: Please try your approach on {IDE} first, before moving on to the solution.
Similar questions