学习
引擎库
utf8

*此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按 此处



API 参考
职能
char
utf8.char(codepoints:Tuple<number>):string
参数
codepoints:Tuple<number>
返回

codes
utf8.codes(str:string):function,string,number
参数
str:string

codepoint
utf8.codepoint(
str:string, i:number, j:number
参数
str:string
默认值:1
默认值:i
返回

len
utf8.len(
参数
默认值:1
默认值:-1
返回

offset
utf8.offset(
参数
默认值:1
返回

graphemes
utf8.graphemes(
str:string, i:number, j:number
参数
str:string
返回

nfcnormalize
utf8.nfcnormalize(str:string):string
参数
str:string
返回

nfdnormalize
utf8.nfdnormalize(str:string):string
参数
str:string
返回

属性
charpattern
utf8.charpattern:string

©2026 Roblox Corporation、Roblox、Roblox 标志及 Powering Imagination 是我们在美国及其他国家或地区的注册与未注册商标。