Skip to content

Commit 7abfd24

Browse files
authored
Suggest char nul over char --integer 0
1 parent 12bc8e1 commit 7abfd24

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

book/working_with_strings.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ Nushell currently supports the following escape characters:
5858
- `\u{X...}` - a single unicode character, where X... is 1-6 hex digits (0-9, A-F)
5959

6060
To create a `\0` (`NUL`) character, you may use `\u{0}` or
61-
[string interpolation](#string-interpolation) with [`char`](/commands/docs/char.md),
62-
e.g. `(char --integer 0)`.
61+
[string interpolation](#string-interpolation) with [`(char nul)`](/commands/docs/char.md).
6362

6463
## Raw Strings
6564

0 commit comments

Comments
 (0)