input string
set to true to null-terminate the resulting string if the input string is null-terminated
the resulting string
test!("==")(StringSearch!().trim("trim"), "trim"[]); test!("==")(StringSearch!().trim(" trim"), "trim"[]); test!("==")(StringSearch!().trim("\ttrim"), "trim"[]); test!("==")(StringSearch!().trim(" \t trim"), "trim"[]); test!("==")(StringSearch!().trim("trim "), "trim"[]); test!("==")(StringSearch!().trim("trim\t"), "trim"[]); test!("==")(StringSearch!().trim("trim \t "), "trim"[]); test!("==")(StringSearch!().trim(" trim "), "trim"[]); test!("==")(StringSearch!().trim("\ttrim\t"), "trim"[]); test!("==")(StringSearch!().trim("\t \ttrim \t "), "trim"[]);
Trims white space from "str".