Tema 4. Strings en Kotlin
Características diferenciadoras de las Strings.
Tema 2. Variables y Tipos de Datos
STRINGS
class String : Comparable<String>, CharSequenceval texto = "hola"
println(texto.get(2)) // l
println(texto[2]) // lCONCATENAR STRINGS
val s = "hola"
val n = "programador"
println(s + " " + n)STRINGS CON MÚLTIPLES LINEAS
PLANTILLAS DE STRING
Last updated