4.24 Character properties
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Character properties
          • char_type/2
          • code_type/2
          • Case conversion
          • White space normalization
            • normalize_space/2
          • Language-specific comparison
    • Packages

4.24.2 White space normalization

normalize_space(-Out, +In)
Normalize white space in In. All leading and trailing white space is removed. All non-empty sequences for Unicode white space characters are replaced by a single space (\u0020) character. Out uses the same conventions as with_output_to/2 and format/3.