optional_text

Function optional_text 

Source
pub fn optional_text(raw: Option<&str>) -> Option<&str>
Expand description

The text of an optional STEP string attribute, or None when it carries no value: trimmed of STEP whitespace (is_step_space, never Unicode trim), and an empty result or a bare $ is None (PROCESSING-15). The one normaliser for names and labels read off a decoded entity (get_string): the processing crate had four copies that disagreed on a quoted '$' and on Unicode spaces.