@navi-lang/unindent
v0.1.2
Published
Unindent a string by the minimum amount of leading whitespace
Readme
Unindent
Remove the leading spaces from the lines of the block.
Usage
Add unindent into your navi.toml:
[dependencies]
unindent = "0"Then you can use it:
use unindent.unindent;
fn main() throws {
println(unindent(`
Hello, world!
Second indented line.
`));
}This will print:
Hello, world!
Second indented line.