Qurak

Visualize the character codes in a string

Eksempel 3 steg, kjørt i rekkefølge i én økt. Hvert steg ble kjørt mot motoren, og utdataene nedenfor er det de ga.

Steg 1
charcodes = ToCharacterCode["this is a string."]
Utdata
{116, 104, 105, 115, 32, 105, 115, 32, 97, 32, 115, 116, 114, 105, 110, 103, 46}
Steg 2
ListPlot[charcodes, Filling -> Axis]
Utdata
-Graphics-
Steg 3
FromCharacterCode[charcodes]
Utdata
this is a string.

Funksjoner brukt

Relaterte oppskrifter

Alle oppskrifter · Funksjonsreferanse · Bruk dette fra en MCP-klient