Skip to main content

strip_underscores

No overview available.

def strip_underscores(
text: string
) - > string

Removes leading and trailing underscores from a string. This is useful for normalizing identifiers or cleaning up internal naming conventions before display or processing.

Parameters

NameTypeDescription
textstringThe input string to be processed for underscore removal

Returns

TypeDescription
stringThe input string with all leading and trailing underscore characters removed