Closed dezashibi closed 1 year ago
I very recently added two functions to create a String from a list of code points or from one code point:
auto String::fromCodes(someString.chars()); // to code points and back to string
auto one = String::fromCode(0x1F4BB); // a laptop emoji (I think)
yes thanks, works fine 👍
when iterating in an asl::String using a
for (auto& character : my_text)
loop a codepoint for each character is received, to print that individual character I came up with this code, is there any missing feature or shorter way or it's just fine?well this works fine with both
asl::String
andstd::string
.