Crate slash_formatter

source ·
Expand description

Slash Formatter

This crate provides functions to deal with slashes and backslashes in strings.

Examples

To see examples, check out the documentation for each function.

Macros

  • Concatenate multiple strings with backslashes.
  • Concatenate multiple strings with backslashes.
  • Concatenates literals into a static string slice separated by a backslash. Prefixes and suffixes can also be added.
  • Concatenates literals into a static string slice separated by FILE_SEPARATOR. Prefixes and suffixes can also be added.
  • Concatenates literals into a static string slice separated by FILE_SEPARATOR_ON_WORKSTATION. Prefixes and suffixes can also be added.
  • Concatenates literals into a static string slice separated by file separators which depends on the target OS if in debug mode, or depends on the workstation if in release mode. Prefixes and suffixes can also be added.
  • Concatenates literals into a static string slice separated by a slash. Prefixes and suffixes can also be added.
  • Concatenate multiple strings with FILE_SEPARATOR. It can also be used to get the literal FILE_SEPARATOR.
  • Concatenate multiple strings with FILE_SEPARATOR_ON_WORKSTATION. It can also be used to get the literal FILE_SEPARATOR_ON_WORKSTATION.
  • Concatenate multiple strings with FILE_SEPARATOR_ON_WORKSTATION. It can also be used to get the literal FILE_SEPARATOR_ON_WORKSTATION.
  • Concatenate multiple strings with FILE_SEPARATOR. It can also be used to get the literal FILE_SEPARATOR.
  • Concatenate multiple strings with slashes. It can also be used to get the literal '/'.
  • Concatenate multiple strings with slashes. It can also be used to get the literal '/'.

Functions