Qurak

StringReplace

Доступно

Applies one or more replacement rules to a string.

StringReplace["string", s -> sp]
StringReplace["string", {s1 -> sp1, s2 -> sp2, …}]
StringReplace["string", srules, n]
StringReplace[{s1, s2, …}, srules]
StringReplace[srules]
StringReplace["Hello world", "world" -> "moon"] → Hello moonStringReplace["abc", RegularExpression["(b)"] :> "<" <> "$1" <> ">"] → a<b>c

Використовується в

Теми

Пов'язане

Усі 6300 функцій · Використати з MCP-клієнта