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