faheem2407 / play-with-string
This is a very basic but useful package to manipulate strings
V0.0.1
2024-06-11 11:44 UTC
README
How to use this package:
- create a fresh laravel project or inside your existing project just require this : composer require faheem2407/play-with-string
- create an object of class StringHelper like this: $object = new StringHelper("pass a string or sentance here");
- call upper function to make the passing sentance uppercase like this: echo $object->upper(); output: PASS A STRING OR SENTENCE HERE
- call lower function to make the passing sentance lowercase like this: echo $object->lower(); output: pass a string or sentance here
- call reverse function to make the passing sentance revese: echo $object->reverse(); output: ereh ecnatnes ro gnirts a ssap