An easy way to format strings by using curly braces.

x = "Hello";
y = "World";

global.a = "Hello";
global.b = "World";

// Simple Formatting (best performance)
format("{}, {}", x, y);

// Positional Index Formatting
format("{1}, {0}", y, x);

// Variable Formatting
format("{x}, {y}");

// Global Variable Formatting
format("{$a}, {$b}");

End User Licence Agreement (EULA).

Age Rating: 4+


GMS2 - Version 1.3.2. Published October 16, 2019

  • Variable formatting now supports global variables (prefixed with $)
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top