Jump to content

ExportString

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (ExportString – created via PowerShell script (2025-11-11T21:12:46Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: ExportString
Function Description: Takes a string and returns it formatted with quotes around it for safe string output.
File Location: cmm.stringFunctions.lua
Syntax: CMM.ExportString( string s )
Return Value: string
Parameters: Name Description
sThe input string to be padded and enclosed in quotes.
Example: CMM.ExportString("Hello World")
Example Description: Returns "Hello World" when given the input string "Hello World".
Related Functions:
Notes: