package com.bjsxt.scala object Lesson_string { def main(args: Array[String]): Unit = { val s = "bjsxt" val s1 = "BJSXT" // println(s.indexOf(97)) // println(s.equalsIgnoreCase(s1)) val builder = new StringBuilder() builder.+('a') builder.++=("bc") builder.append(true) println(builder) } }