nushell/crates/nu-cli/src/commands/str_/mod.rs
k-brk 5e0a9aecaa
ltrim and rtrim for string (#2262)
* Trim string from left and right

* Move trim to folder

* fmt

* Clippy
2020-07-27 06:09:35 +12:00

34 lines
928 B
Rust

mod capitalize;
mod collect;
mod command;
mod downcase;
mod find_replace;
mod from;
mod length;
mod reverse;
mod set;
mod substring;
mod to_datetime;
mod to_decimal;
mod to_integer;
mod trim;
mod upcase;
pub use capitalize::SubCommand as StrCapitalize;
pub use collect::SubCommand as StrCollect;
pub use command::Command as Str;
pub use downcase::SubCommand as StrDowncase;
pub use find_replace::SubCommand as StrFindReplace;
pub use from::SubCommand as StrFrom;
pub use length::SubCommand as StrLength;
pub use reverse::SubCommand as StrReverse;
pub use set::SubCommand as StrSet;
pub use substring::SubCommand as StrSubstring;
pub use to_datetime::SubCommand as StrToDatetime;
pub use to_decimal::SubCommand as StrToDecimal;
pub use to_integer::SubCommand as StrToInteger;
pub use trim::Trim as StrTrim;
pub use trim::TrimLeft as StrTrimLeft;
pub use trim::TrimRight as StrTrimRight;
pub use upcase::SubCommand as StrUpcase;