What is string.char and how do you use it?

The way Roblox explains it just looks like jumbled up words and makes no sense to me. Can someone please give an example on what it does?

edit: Why is it printing this?

2 Likes

string.char(number) takes in an ASCII character decimal and returns the corresponding character. For example, string.char(72) would be the letter H.

ASCII Character Table:

3 Likes

Here is an in-detail explanation (video) of string.byte and string.char that I have just created if you’re interested!
String.byte and string.char The most underrated string functions - Help and Feedback / Creations Feedback - DevForum | Roblox