# Functions
Bytes converts a string to a byte slice.
Capitalize optimizes the capitalization for ASCII strings.
Concat concatenates multiple strings into a single string.
ConcatWithSeparator concatenates multiple strings with a specified separator.
ContainsAny checks if the input string contains any of the specified substrings.
CountOccurrences counts the number of occurrences of a specific substring in a given string.
DecodeBase64 decodes a Base64 encoded string.
EncodeBase64 encodes a string to Base64 format.
Format replaces placeholders in a template string with provided arguments.
HasBlank checks if a string contains any whitespace characters.
HasEmpty checks if any of the provided strings are empty or nil.
HasNoBlank checks if a string contains no whitespace characters.
HasNoEmpty checks if none of the provided strings are empty or nil.
IsBlank checks if a string is entirely composed of whitespace characters or is empty.
IsEmpty checks if a string is empty (length 0).
IsNumeric checks if the input string consists only of numeric characters (0-9).
JoinNonEmpty joins the non-empty strings in the slice with a specified separator.
LevenshteinDistance calculates the Levenshtein distance between two strings, which represents the minimum number of single-character edits required to transform one string into the other.
NotBlank checks if a string is not entirely composed of whitespace characters.
NotEmpty checks if a string is not empty (length > 0).
PadLeft pads the input string on the left with the specified padChar until it reaches the target length.
PadRight pads the input string on the right with the specified padChar until it reaches the target length.
Pluralize adds an "s" to the input string if the count is not 1.
RandomString generates a random string of the specified length using characters from a given set.
RegexReplace replaces all occurrences of a pattern in a string with a replacement string.
RemoveDuplicates removes duplicate characters from the input string, leaving only the first occurrence of each.
RemoveNonAlphaNumeric removes all non-alphanumeric characters from the input string.
RemovePrefix removes a specified prefix from a string, if it exists.
RemoveSuffix removes a specified suffix from a string, if it exists.
Reverse reverses the order of characters in a string.
Slugify converts a string to a URL-friendly slug by removing non-alphanumeric characters and replacing spaces with hyphens.
SplitAt splits a string into two parts at the specified index.
Str converts a byte slice to a string.
StripControlChars removes non-printable characters (control characters) from the input string.
Sub extracts a substring from the input string, supporting both ASCII and Unicode characters efficiently.
Substring extracts a substring from a given string.
ToCamelCase efficiently converts a snake_case or kebab-case string to camelCase.
ToLower converts a string to lowercase.
ToSnakeCase converts a camelCase string to snake_case.
ToUpper converts a string to uppercase.
URLSafeDecodeBase64 decodes a URL-safe Base64 encoded string.
URLSafeEncodeBase64 encodes a string in URL-safe Base64 format.
WordWrap wraps a string into lines of a specified width, breaking at spaces when possible.