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