feat: add search terms to category of strings (#5723)

This commit is contained in:
Jae-Heon Ji
2022-06-06 22:47:09 +09:00
committed by GitHub
parent b8d253cbd7
commit 820a6bfb08
26 changed files with 112 additions and 0 deletions

View File

@ -20,6 +20,10 @@ impl Command for SubCommand {
"Split a string's characters into separate rows"
}
fn search_terms(&self) -> Vec<&str> {
vec!["character", "separate", "divide"]
}
fn examples(&self) -> Vec<Example> {
vec![Example {
description: "Split the string's characters into separate rows",

View File

@ -33,6 +33,10 @@ impl Command for SubCommand {
"Split a string into multiple columns using a separator"
}
fn search_terms(&self) -> Vec<&str> {
vec!["column", "separate", "divide"]
}
fn run(
&self,
engine_state: &EngineState,

View File

@ -33,6 +33,10 @@ impl Command for SubCommand {
"Split a string into multiple rows using a separator"
}
fn search_terms(&self) -> Vec<&str> {
vec!["row", "separate", "divide"]
}
fn run(
&self,
engine_state: &EngineState,