Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
S : constant String := "" & C;
(def s (str c))
string s { 'c' };
var s = new string(c, 1);
string s = c.ToString();
var s=c;
to_string(char)
S = [C]
character(len=:),allocatable :: s
character(len=1) :: c
s=c
s = [c]
let s = c
String s = Character.toString(c);
String s = "%s".formatted(c);
String s = String.valueOf(c);
String s = = new Character(c).toString();
String s = c + "";
val s: String = c.toString()
(defparameter *s* (string c))
s = c
$s = (string) $c;
var
s: string;
begin
s := 'c';
end.
my $s = $c;
s = c
s = ?c
let s = c.to_string();