HTML:標記語言
CSS:樣式語言
JavaScript:指令碼語言
Web API:程式設計介面
所有 Web 技術
學習 Web 開發
發現我們的工具
更好地瞭解 MDN
substring-after 函式返回一個字串,該字串是給定字串在給定子字串之後的剩餘部分。
substring-after
substring-after( haystack, needle )
haystack
要評估的字串。該字串的一部分將被返回。
needle
要搜尋的子字串。返回 haystack 中 needle 第一次出現之後的所有內容。
字串。
substring-after('aa-bb','-')
bb
substring-after('aa-bb','a')
a-bb
substring-after('aa-bb','b')
b
substring-after('aa-bb','q')
XPath 1.0 4.2
支援。