class

MStringStatics

Blueprint's string library for Visual Scripting and C++ gameplay. Every function is a pure, side-effect-free operation on std::string values (UTF-8 bytes; the index-based ones count bytes, which is what a graph indexing ASCII text expects). Concat and ToString are Pure ops already; this is the rest.

Module
Game
Header
#include "Game/MStringStatics.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
int32_tLength
boolIsEmpty
boolIsBlank
std::stringSubstring
std::stringLeft
std::stringRight
std::stringCharAt
boolContains
boolStartsWith
boolEndsWith
int32_tFind
std::stringReplace
std::stringToUpper
std::stringToLower
std::stringTrim
boolEquals
std::stringRepeat
std::stringPadLeft
std::stringPadRight
int32_tSplitCount
std::stringSplitAt
int32_tToInt
floatToFloat
boolIsNumeric
std::stringFromInt
std::stringFromFloat
std::stringFromVector

Function details

Length

C++
int32_t Length(const std::string& text) const

IsEmpty

C++
bool IsEmpty(const std::string& text) const

IsBlank

C++
bool IsBlank(const std::string& text) const

Substring

C++
std::string Substring(const std::string& text, int32_t start, int32_t count) const

Left

C++
std::string Left(const std::string& text, int32_t count) const
C++
std::string Right(const std::string& text, int32_t count) const

CharAt

C++
std::string CharAt(const std::string& text, int32_t index) const

Contains

C++
bool Contains(const std::string& text, const std::string& search, bool ignoreCase) const

StartsWith

C++
bool StartsWith(const std::string& text, const std::string& prefix) const

EndsWith

C++
bool EndsWith(const std::string& text, const std::string& suffix) const

Find

C++
int32_t Find(const std::string& text, const std::string& search, int32_t from) const

Replace

C++
std::string Replace(const std::string& text, const std::string& from, const std::string& to) const

ToUpper

C++
std::string ToUpper(const std::string& text) const

ToLower

C++
std::string ToLower(const std::string& text) const

Trim

C++
std::string Trim(const std::string& text) const

Equals

C++
bool Equals(const std::string& a, const std::string& b, bool ignoreCase) const

Repeat

C++
std::string Repeat(const std::string& text, int32_t count) const

PadLeft

C++
std::string PadLeft(const std::string& text, int32_t width, const std::string& pad) const

PadRight

C++
std::string PadRight(const std::string& text, int32_t width, const std::string& pad) const

SplitCount

C++
int32_t SplitCount(const std::string& text, const std::string& separator) const

SplitAt

C++
std::string SplitAt(const std::string& text, const std::string& separator, int32_t index) const

ToInt

C++
int32_t ToInt(const std::string& text, int32_t defaultValue) const

ToFloat

C++
float ToFloat(const std::string& text, float defaultValue) const

IsNumeric

C++
bool IsNumeric(const std::string& text) const

FromInt

C++
std::string FromInt(int32_t value) const

FromFloat

C++
std::string FromFloat(float value, int32_t decimals) const

FromVector

C++
std::string FromVector(const Vec3& value, int32_t decimals) const
Generated from Game/MStringStatics.h via game.json · Nov 5, 2026Version 1.0.0