Array into a string x, please prepare the function, respectively, to delete the Spaces, punctuation, and where the subscript of the characters for an odd number of characters, the rest of the string to deposit into the output of the array x.
CodePudding user response:
I want to ask, the array into a string x is an array of strings, such as {" it ", "FSDFGDS", "ds FGSG}" in this way, or the string "AD s" into a single character (' a ', 'd', ', 's'},