mgear.core.string

string management methods

Functions

convertRLName(name)

Convert a string with underscore

convertRLName_old(name)

Convert a string with underscore

normalize(string)

Replace all invalid characters with "_"

normalize2(string)

Replace all invalid characters with "_".

normalize_path(string)

Ensure that string path use always forward slash

normalize_with_padding(string)

Replace all invalid characters with "_".

removeInvalidCharacter(string)

Remove all invalid character.

removeInvalidCharacter2(string)

Remove all invalid character.

replaceSharpWithPadding(string, index)

Replace a list of # symbol with properly padded index.