StaticcapitalizeCapitalize the first letter of a string
The string to capitalize
The capitalized string
StaticescapeEscape HTML special characters
The string to escape
The HTML-escaped string
StaticisCheck if a string is empty or consists only of whitespace
The string to check
True if the string is empty or whitespace-only
StaticpadPad string on left/right
The string to pad
Target length after padding
Character to use for padding (default: ' ')
Side to pad: 'left' or 'right' (default: 'right')
The padded string
StaticrepeatRepeat a string multiple times
The string to repeat
Number of times to repeat (default: 1)
The repeated string
StaticreplaceReplace all occurrences of a substring
The source string
The substring to search for
The replacement string
The string with all occurrences replaced
StaticstripStrip HTML tags from a string
The string containing HTML
The string with HTML tags removed
StatictoConvert string to camelCase
The string to convert
The camelCase string
StatictoConvert string to kebab-case
The string to convert
The kebab-case string
StatictoConvert string to snake_case
The string to convert
The snake_case string
StatictruncateTruncate string to a given length with ellipsis
The string to truncate
Maximum length before truncation (default: 50)
The truncated string
VelocityUI String Utilities Collection of common string manipulation functions