SplitScript reference / Migration / Exact string replacement

Exact string replacement

Migration from C#

Source pattern

Look for the C# concept Exact string replacement in the source. The semantic difference below is more important than a token-for-token rewrite.

Canonical SplitScript

Use the canonical language and API symbols linked below.

Semantic difference

Use fallible replaceAll for immutable exact replacement; explicitly handle failure and translate a null C# replacement to an empty string only when deletion was intended.

Supported hosts

This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.