public final class MessageFormatUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
format(String pattern, Object... arguments)
This method provides a generic way for formatting strings.
|
public static String format(String pattern, Object... arguments)
Only basic escaping is allowed, single quotes in a set of curly braces are not supported and multiple escaped braces in a row are also not supported
Allowed {{{0}}} Allowed '{0}' Allowed '{{{0}}}'
Not allowed {{'{0}'}} Not allowed {{{{{0}}}}}
pattern - to format
arguments - arguments
Copyright © 1998–2022 iText Group NV. All rights reserved.