Answers for "convert a char to a string"

4

string to char*

std::string str = "string";
const char *cstr = str.c_str();
Posted by: Guest on February-24-2021
1

char to string jva

char ch = 'a';
String.valueOf(ch);
Posted by: Guest on November-14-2020
0

android studio char to string

(char[]).toString();//the lvalue or even rvalue of char[] + toString()
String MyString = new String(MyChars);
Posted by: Guest on July-06-2020

Code answers related to "convert a char to a string"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language