跳到主要内容

filter

过滤敏感字符

声明

string filter(string content, string placeholder = "*")

参数

参数名描述
content检测文本
placeholder占位符

返回值

返回敏感词过滤后的检测文本,敏感词替换成占位符

使用方式

返回文档