SplitScript reference / Migration / String padding
String padding
Migration from C#
Source pattern
Look for the C# concept String padding 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 padStart(width, fill) or padEnd(width, fill) with an explicit character; review C# UTF-16 widths against SplitScript's Unicode-scalar widths.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
-
String.padStart (standard library)
-
String.padEnd (standard library)