Created
April 22, 2020 12:29
-
-
Save wicky-andrian/41464d0f10a9a2c19e9e04b81f7d4b70 to your computer and use it in GitHub Desktop.
Contoh metode string part 5
This file contains hidden or 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
a = "Ruby" | |
puts a.rjust(8) | |
puts a.rjust(8, '****') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment