How do I convert an array of char to a string?
I have a normal array of characters and I want to convert its values to string.
How can I do this?
Edit: Originally this question asked about “array of string to string”, but the OP accepted an answer that said “array of char, to string”.
It seems that perhaps you have text in an
array of char. If so then you can do this:On the other hand, maybe you’re asking a completely different question.