add string in array kotlin code example Example: add to array kotlin var listofVehicleNames = arrayListOf("list items here")