Created
July 1, 2020 15:59
-
-
Save robzlabz/83c47847f320bef0640545e27d356340 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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