Robyn
4
Q:

convert list of strings to string

String string = list.stream().map(Object::toString).collect(Collectors.joining(""));
3
string.Join(", ", stringCollection); // "Value1, Value2, Value3
0
string Something = string.Join(",", MyList);
0
# Python program to convert a list 
# to string using join() function 
    
# Function to convert   
def listToString(s):  
    
    # initialize an empty string 
    str1 = " " 
    
    # return string   
    return (str1.join(s)) 
        
        
# Driver code     
s = ['Geeks', 'for', 'Geeks'] 
print(listToString(s))  
0

New to Communities?

Join the community