Crate slash_formatter[][src]

This crate provides functions to deal with slashes in strings.

Examples

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

Functions

add_end_slash

Add an ending slash into a string.

add_end_slash_owned

Add an ending slash into a string.

add_start_slash

Add an starting slash into a string.

add_start_slash_owned

Add an starting slash into a string.

concat_with_slash

Concatenate two strings with a slash.

concat_with_slash_owned

Concatenate two strings with a slash.

delete_end_slash

Delete an ending slash in a string except for '/'.

delete_end_slash_owned

Delete an ending slash in a string except for '/'.

delete_start_slash

Delete an starting slash in a string except for '/'.

delete_start_slash_owned

Delete an starting slash in a string except for '/'.