Port str trim (#394)

This commit is contained in:
onthebridgetonowhere 2021-12-02 05:38:44 +01:00 committed by GitHub
parent 34e0fd622b
commit 2bbba3f5da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1165 additions and 0 deletions

View File

@ -148,6 +148,7 @@ pub fn create_default_context() -> EngineState {
StrStartsWith,
StrReverse,
StrSubstring,
StrTrim,
Sys,
Table,
To,

View File

@ -12,6 +12,7 @@ mod reverse;
mod rpad;
mod starts_with;
mod substring;
mod trim;
pub use capitalize::SubCommand as StrCapitalize;
pub use case::*;
@ -27,3 +28,4 @@ pub use reverse::SubCommand as StrReverse;
pub use rpad::SubCommand as StrRpad;
pub use starts_with::SubCommand as StrStartsWith;
pub use substring::SubCommand as StrSubstring;
pub use trim::Trim as StrTrim;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
mod command;
pub use command::SubCommand as Trim;