Skip to main content

system.kanoa.utilities.stringFormat

This function requires KanoaCore module

Description

Replaces underscores and dashes with spaces, creates spaces between separate words (kanoaCore).

Syntax

stringFormat(text)
  • Parameters
      text (String) - The input text to be formatted.
  • Returns
      text (String) - The formatted text with underscores and dashes replaced by spaces.
  • Code Example

    # Example Usage:
    formatted_text = system.kanoa.utilities.stringFormat('example_text_with_underscores')