學習
引擎資料庫
utf8

*此內容是使用 AI(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 是我們在美國及其他國家地區的部分註冊與未註冊商標。