检查REBOL字符串是否包含另一个字符串

And*_*een 4 rebol

我尝试使用find功能来检查字符串出现的"ll"字符串中"hello",但它返回"ll"的替代truefalse:

"This prints 'll'"
print find "hello" "ll"
Run Code Online (Sandbox Code Playgroud)

REBOL的标准库是否有任何函数来检查字符串是否包含另一个字符串?

Shi*_*eng 5

试试这个

>> print found? find "hello" "ll"
true
>> print found? find "hello" "abc"
false
Run Code Online (Sandbox Code Playgroud)