Sha256: 74ef3b33096bc35fa346f8ef945dc3c737a082dd29a902cef07987791906717c
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
### Usage Section Breakdown 1. **Convert to `camelCase`:** - Demonstrates how to convert a regular string or a PascalCase string to camelCase. 2. **Convert to `snake_case`:** - Shows how to convert different strings to snake_case, handling spaces and mixed cases. 3. **Convert to `kebab-case`:** - Demonstrates converting strings to kebab-case, including those with mixed cases. 4. **Truncate a String with Ellipsis:** - Examples of truncating strings with a default ellipsis or a custom string. 5. **Reverse the Order of Words:** - Shows how to reverse the order of words in a string. 6. **Strip HTML Tags:** - Demonstrates removing HTML tags from a string, leaving just the text content. 7. **Check if a String is a Palindrome:** - Examples of checking if strings are palindromes, including phrases with spaces and punctuation. 8. **Convert to Boolean:** - Demonstrates converting common boolean string values to actual boolean values, with handling for invalid inputs. 9. **Trim Custom Characters:** - Shows how to remove specific characters from the start and end of a string. ### Customization Feel free to customize the `README.md` further by adding more examples, refining the explanations, or including any additional information relevant to your gem. Let me know if there's anything else you'd like to add or adjust!
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iprog_string_utils-0.1.0 | CODE_OF_CONDUCT.md |