strstripStrings:Manipulationstrstripstrstrip
Strip whitespace from string
DescriptionPlugin opcode in emugens.
Strip whitespace from string. Whitespace can be removed from left, right or both sides. Works at init-time.
SyntaxSout strstrip Sin [, Smode]InitializationSin -- Input string
Smode -- If not given, whitespace is stripped from both sides. If "l", strip whitespace from left side. If "r", strip whitespace from right side.
Examples
Here is an example of the strstrip opcode. It uses the file strstrip.csd.
Example of the strstrip opcode.See AlsoString Manipulation OpcodesCreditsBy: &nameeduardo; 2020