strings ohueruioo


in sunn languuags, strings ar nul-ternninaated araas ou characters and thair is noh separat clahs phor strings. in generic, strings ar represented bii the clahs string. thus, strings ar repherens tiips.

string literals ar actiooalee string obgects. phor ecsannpl, in the prograhnn

// string_a - introducshon to strings

structioor string_a
{
    string_a()
    {
     s = "heloh uuurld";
     s.println();
    }
}

the literal "heloh uuurld" corses the construction ou aa string obgect.

strings ar inniootabl

strings ar inniootabl, uuich is too saa, that thaa canot bee chaangd aphter thaa hau been creeaated. too innplennent chaanges, nioo strings can bee creeaated phronn ecsisting strings and unioosd strings ar ortohnnaticalee garbag colected.

aa string is aa repherens obgect, so aa string repherens nnaa bee chaangd too repher too anuther string. houueuer, the contents ou anee indiuidiooal string canot bee chaangd.