文本处理命令
本页由
test/COMMANDS.txt自动拆分生成。
共 40 组命令。
回显文本(/echo <string...>)
/echo <string...>点击查看说明
回显文本。
Edge 翻译功能(/translate [content...=clipboard])
/translate [content...=clipboard]
/translatecopy [content...=clipboard]
/translateto <lang> [content...=clipboard]
/translatetocopy <lang> [content...=clipboard]
/translateloop <times> [content...=clipboard]
/translateloopcopy <times> [content...=clipboard]点击查看说明
Edge 翻译功能。translateto 可指定目标语言, translateloop 将会把文本按每一种语言轮流进行翻译,最后翻回原先的语言,共翻译 times 次。 如果结尾是copy,则会将结果复制到剪贴板。
opencc 离线翻译(/translateoffline <from> <to> [content...=clipboard])
/translateoffline <from> <to> [content...=clipboard]点击查看说明
opencc 离线翻译。 支持的语言缩写有:s简体中文,t繁体中文,hk香港,tw台湾繁体,jp日本汉字
生草机翻译(/memeizer [content...=clipboard])
/memeizer [content...=clipboard]点击查看说明
生草机翻译。相关设置请到生草机模块进行配置。
前者如果参数不填,则异步启动一个计算器(/calc [expr...])
/calc [expr...]
/calculate <expr...>
/calccopy <expr...>
/getcalc <expr...>点击查看说明
前者如果参数不填,则异步启动一个计算器。 否则,计算并输出数学表达式 expr 的值。支持四则运算、**乘方运算、三角函数、反三角函数、双曲三角函数、expr、sqrt、pow、random()、randint(a,b)、uniform(a,b) 注意这其实是调用 PowerShell 进行运算,并非客户端自身计算。
calculate 命令会输出转化后的PowerShell表达式并输出用时。 calccopy 命令如果成功,将会将结果写入剪贴板。 getcalc 命令如果成功,将会将结果以字符串形式写入it
从文本数据库获取文本(/textdatabase get <key>)
/textdatabase get <key>
/textdatabase query <key>
/textdatabase copy <key>
/textdatabase obtain <key>
/tdb get <key>
/tdb query <key>
/tdb copy <key>
/tdb obtain <key>
/pastebin get <key>
/pastebin query <key>
/pastebin copy <key>
/pastebin obtain <key>点击查看说明
从文本数据库获取文本。key 为秘钥。其中 copy 会把结果存入剪贴板,obtain 会把结果存入 it 代词中。/pastebin 会使用某种客户端的算法加密你的key以减少冲突的可能性。
文本数据库中设置文本(/textdatabase set <key>)
/textdatabase set <key>
/textdatabase update <key>
/tdb set <key>
/tdb update <key>
/pastebin set <key>
/pastebin update <key>点击查看说明
文本数据库中设置文本。key 为秘钥。/pastebin 会使用某种客户端的算法加密你的key以减少冲突的可能性。
文本数据库中清空文本(/textdatabase clear <key>)
/textdatabase clear <key>
/textdatabase delete <key>
/tdb clear <key>
/tdb delete <key>
/pastebin clear <key>
/pastebin delete <key>点击查看说明
文本数据库中清空文本。key 为秘钥。/pastebin 会使用某种客户端的算法加密你的key以减少冲突的可能性。
根据内容生成二维码并打开(/qrcode [content...])
/qrcode [content...]点击查看说明
根据内容生成二维码并打开。如果不写参数,则读取剪贴板内容(必须是文本类型)。
为 it 赋值字符串(/string [content...])
/string [content...]点击查看说明
为 it 赋值字符串。
为 it 赋值字符串(/string2 [content...])
/string2 [content...]点击查看说明
为 it 赋值字符串。但会弹出一个高级输入框让你编辑。content 将作为输入框的初始内容。
为 it 赋值字符串(/string3 [content...])
/string3 [content...]点击查看说明
为 it 赋值字符串。但会弹出一个聊天框让你编辑。content 将作为输入框的初始内容。
复制字符串,但先弹出一个高级输入框让你编辑(/copystr [content...])
/copystr [content...]点击查看说明
复制字符串,但先弹出一个高级输入框让你编辑。content 作为输入框的初始内容。
字符串功能(/str <params...>)
/str <params...>点击查看说明
字符串功能。params 为相关参数。
获取字符串长度与字符数(/str size [content=it...])
/str size [content=it...]点击查看说明
获取字符串长度与字符数。
字符串转小写(/str transform lower [content=it...])
/str transform lower [content=it...]点击查看说明
字符串转小写。
字符串转大写(/str transform upper [content=it...])
/str transform upper [content=it...]点击查看说明
字符串转大写。
字符串反转(/str transform reverse [content=it...])
/str transform reverse [content=it...]点击查看说明
字符串反转。注意基本单位为字符而不是字节。
交换字符串大小写(/str transform swapcase [content=it...])
/str transform swapcase [content=it...]点击查看说明
交换字符串大小写。
混写字符串大小写(/str transform annoycase [content=it...])
/str transform annoycase [content=it...]点击查看说明
混写字符串大小写。
移除子串(/str transform remove <substr> [content=it...])
/str transform remove <substr> [content=it...]点击查看说明
移除子串。
替换字符串(/str transform replace <old> <new> [content=it...])
/str transform replace <old> <new> [content=it...]点击查看说明
替换字符串。
分隔字符串(/str transform split <sep> [content=it...])
/str transform split <sep> [content=it...]点击查看说明
分隔字符串。
在字符串每个字符间添加字符(/str transform join <sep> [content=it...])
/str transform join <sep> [content=it...]点击查看说明
在字符串每个字符间添加字符。
删除字符串标点符号(/str transform delpunct [content=it...])
/str transform delpunct [content=it...]点击查看说明
删除字符串标点符号。
根据字符串标点符号换行(/str transform punctcutline [content=it...])
/str transform punctcutline [content=it...]点击查看说明
根据字符串标点符号换行。
将字符串的标点符号全部改为英文标点(/str transform toengpunct [content=it...])
/str transform toengpunct [content=it...]点击查看说明
将字符串的标点符号全部改为英文标点。
将字符串的标点符号全部改为中文标点(/str transform tochnpunct [content=it...])
/str transform tochnpunct [content=it...]点击查看说明
将字符串的标点符号全部改为中文标点。
使用 mode 模式混淆字符串(/str transform obfuscate <mode> [content=it...])
/str transform obfuscate <mode> [content=it...]点击查看说明
使用 mode 模式混淆字符串。
添加双引号(/str transform quote [content=it...])
/str transform quote [content=it...]点击查看说明
添加双引号。
移除首尾双引号(/str transform unquote [content=it...])
/str transform unquote [content=it...]点击查看说明
移除首尾双引号。
转义字符串(/str transform escape [content=it...])
/str transform escape [content=it...]点击查看说明
转义字符串。例如将换行符替换为\n(写成这样)。
反转义字符串(/str transform unescape [content=it...])
/str transform unescape [content=it...]点击查看说明
反转义字符串。
转义字符串(/str transform escapehtml [content=it...])
/str transform escapehtml [content=it...]点击查看说明
转义字符串。但是是 HTML 转义规则。
反转义字符串(/str transform unescapehtml [content=it...])
/str transform unescapehtml [content=it...]点击查看说明
反转义字符串。但是是 HTML 转义规则。
提取文件路径扩展名(/str transform extractext [content=it...])
/str transform extractext [content=it...]点击查看说明
提取文件路径扩展名。
去除文件路径扩展名(/str transform delext [content=it...])
/str transform delext [content=it...]点击查看说明
去除文件路径扩展名。
对字符串进行屏蔽词过滤(/str transform filter [content=it...])
/str transform filter [content=it...]点击查看说明
对字符串进行屏蔽词过滤。
中文分词(/str transform cut [content=it...])
/str transform cut [content=it...]点击查看说明
中文分词。使用在线API。
中文分词(/str transform cut_bili [content=it...])
/str transform cut_bili [content=it...]点击查看说明
中文分词。使用B站搜索推荐词。