ΒΆinline llvm::FormattedString center_justify(
llvm::StringRef Str,
unsigned int Width)
inline llvm::FormattedString center_justify(
llvm::StringRef Str,
unsigned int Width)
Description
center_justify - add spaces before and after string so total output is\p Width characters. If \p Str is larger that \p Width, full string is written with no padding.
Declared at: llvm/include/llvm/Support/Format.h:159
Parameters
- llvm::StringRef Str
- unsigned int Width