Created
April 23, 2020 13:31
-
-
Save wicky-andrian/ef4d4bbbbf6ceeb9154b1f5d7635dcf5 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 = "Java|Ruby|PHP|Python" | |
puts a | |
b = a.split("|") | |
puts "Kelas dari variabel b: #{b.class}" | |
puts b | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment