I have string array which looks like below,
THIS IS TO TEST  
USING APPLE  
ENTER A LINK  
I need to remove the spaces from the string, so that final string will be like
THIS IS TO TEST USING APPLE ENTER A LINK
I Tried below code
for s in htmljob_arr:
s = s.replace(" ","")
s = s.strip() + " "
final_htmljob_str += s
Is there any better approach to remove the space between the strings?