Answers for "cell array of char to string array"

0

char array to string

char arr[ ] = "This is a test";

string str(arr);


//  You can also assign directly to a string.
str = "This is another string";

// or
str = arr;
Posted by: Guest on June-26-2021

Code answers related to "cell array of char to string array"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language