faheem2407/play-with-string

This is a very basic but useful package to manipulate strings

V0.0.1 2024-06-11 11:44 UTC

This package is auto-updated.

Last update: 2024-12-11 13:11:21 UTC


README

How to use this package:

  1. create a fresh laravel project or inside your existing project just require this : composer require faheem2407/play-with-string
  2. create an object of class StringHelper like this: $object = new StringHelper("pass a string or sentance here");
  3. call upper function to make the passing sentance uppercase like this: echo $object->upper(); output: PASS A STRING OR SENTENCE HERE
  4. call lower function to make the passing sentance lowercase like this: echo $object->lower(); output: pass a string or sentance here
  5. call reverse function to make the passing sentance revese: echo $object->reverse(); output: ereh ecnatnes ro gnirts a ssap