To Lowercase in Zig

Posted by blogscot
Public (Editable by Users)
Zig
None
Edit
const std = @import("std");

pub fn main() void {
    var buf: [20]u8 = undefined;
    const output = std.ascii.lowerString(&buf, "Hello World!");
    std.debug.print("{s}", .{output});
}