Package | Description |
---|---|
org.dromara.hutool.core.text.finder |
文本查找实现,包括:
查找文本中的字符(正向、反向)
查找文本中的匹配字符(正向、反向)
查找文本中的字符串(正向、反向)
查找文本中匹配正则的字符串(正向)
|
Modifier and Type | Method and Description |
---|---|
static StrFinder |
StrFinder.of(CharSequence strToFind,
boolean caseInsensitive)
创建查找器,构造后须调用
TextFinder.setText(CharSequence) 设置被查找的文本 |
Copyright © 2025. All rights reserved.