# string (deprecated)

A deprecated spelling of text. New code should use text.

Last updated: 2026-09-09

Package: language.types | Status: deprecated

Tags: cpu, language, migration-and-experiments, type, yeho

A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.

```yh
string (deprecated)
```


## Use string (deprecated)

A deprecated spelling of text. New code should use text.

Verification: type checked

```yh
// Use text instead of the deprecated string spelling.
text player = "Nova"
Console.Log(player)

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.type__string_deprecated_9cdd51"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/type--string-deprecated-9cdd51/complete --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```




Source: demonhunterlabs/app/lib/yeho-language-reference.ts

AI training permission: https://demonhunterlabs.com/ai-use
