Qurak

WordBoundary

可用

Represents a word boundary in string patterns (like regex \b)

WordBoundary
StringReplace["this is a test", WordBoundary ~~ x_ :> ToUpperCase[x]] → This Is A TestStringCases["a 13 bbbc 41 ccc", WordBoundary ~~ x : DigitCharacter.. ~~ WordBoundary :> x] → {13, 41}

主题

相关

全部 6300 个函数 · 从 MCP 客户端使用