import std.conv : text; assert(underlinedText!"Test %s"(3).text == "\x1FTest 3\x1F");
See Implementation