Function normalize_string

Source
pub fn normalize_string(input: &str) -> String
Expand description

Normalizes a string by trimming whitespace and converting to lowercase.

This is useful for case-insensitive comparisons and removing leading/trailing whitespace.

§Arguments

  • input - The string to normalize

§Returns

  • String - The normalized string (trimmed and lowercase)