Classes

Retrieves the remainder of a string after a given substring.

Append a string to the input.

Retrieves the part of a string before a given substring.

Converts string between different casing types.

Explode a string into an array

Generates a hash of the input string with the given algorithm.

Generates a hash-based message authentication code (HMAC) using a secret key with the given algorithm.

Masks a string with a single character based on a regular expression

Pad

Pads a string to a given length with another string with specified direction.

Finds the position of the first occurrence of a substring in a string

Prepend a string to the value.

Removes all occurrences of the given string from the input string.

Replace all occurrences of the search string with the replacement string.

Replace the first occurrence of the search string with the replacement string.

Replaces the last occurrence of the search string with the replacement string.

Reverses the string

Splits a string into an array of strings with a specified max size.

Extracts a substring from a string

Replaces tags {{ tag }} in a string with values from a map.

Trims a string with specified direction and characters

Truncate a string to a given length. Appends the provided ellipsis to the end of the string if it is truncated.

Converts the first character of a string to uppercase.

Converts the first character of each word in a string to uppercase.

Wraps a string in a prefix and suffix. Uses the same prefix and suffix if only one is provided.