String Snippets
Conversions
- Convert a base64 encoded string to an uint8 array
- Convert a letter to associate emoji
- Convert a string to camelCase
- Convert a string to PascalCase
- Convert a string to URL slug
- Convert a Windows file path to Unix path
- Convert an uint8 array to a base64 encoded string
- Convert camelCase to kebab-case and vice versa
- Convert snake_case to camelCase
- Convert the name of an Excel column to number
- Format a string
Other
- Capitalize a string
- Decapitalize a string
- Decode HTML entities
- Escape HTML special characters
- Generate a hash of a string
- Prepend a line number to each line of a text document
- Repeat a string
- Replace all line breaks with br elements
- Replace all tab characters with spaces
- Replace multiple spaces with a single space
- Replace the first given number of characters of a string with another character
- Reverse a string
- Reverse the order of lines of a text
- Strip ANSI codes from a string
- Trim slashes at the beginning and the end of a string
- Trim some character
- Trim the file extension from a file name
- Truncate a string at full words