Skip to content

Instantly share code, notes, and snippets.

@robzlabz
Created July 1, 2020 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robzlabz/83c47847f320bef0640545e27d356340 to your computer and use it in GitHub Desktop.
Save robzlabz/83c47847f320bef0640545e27d356340 to your computer and use it in GitHub Desktop.
<?php
$kata = "aku adalah anak gembala ";
$hasil = Str::of($kata)->upper()->trim()->replace('aku', 'kamu');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment