Skip to main content

extract_text_field_property

Function extract_text_field_property 

Source
fn extract_text_field_property(template: &str) -> String
Expand description

Extract the property name from a text-field template string like “{NAME}” → “NAME”. If no braces, returns the string as-is.