Function workflow_core::utils::substr
source ยท pub fn substr(
str: &str,
start: usize,
length: usize,
append: Option<&str>,
) -> String
Expand description
Truncate a string, optionally appending another string
or appending "..."
if the append
string is None