Skip to content

GBString

Enum for separator types used in string utilities

enum SeparatorType

Enum for separator types used in string utilities

  • NONE = 0
  • SPACE = 1
  • UNDERSCORE = 2
  • DASH = 3
static func convert_name_to_readable( p_node_name: String ) -> String

Converts a Node.name to a human readable display_name string. Stops processing when it encounters the project’s naming separator.

p_node_name: String - The node name to convert to readable format

static func match_num_seperator( p_char: String, p_seperator_enum: int ) -> bool

Checks if a character matches the project’s node name number separator setting.

p_char: String - The character to check

p_seperator_enum: int - The separator enum value from project settings

static func get_separator_string( p_seperator_enum: int ) -> String

Gets the separator string for the given enum value.

p_seperator_enum: int - The separator enum value from project settings

addons/grid_building/utils/gb_string.gd


This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.