| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 import 'dart:convert'; |
| 6 import 'dart:io'; |
| 7 |
| 8 main() { |
| 9 String spades = "These are three black spades: ♠♠♠"; |
| 10 String german = "German characters: aäbcdefghijklmnoöpqrsßtuüvwxyz"; |
| 11 |
| 12 stdout.writeln(spades); |
| 13 stdout.writeln(german); |
| 14 print(spades); |
| 15 print(german); |
| 16 |
| 17 stdout.add(spades.runes.toList()); |
| 18 stdout.writeln(); |
| 19 stdout.add(german.runes.toList()); |
| 20 stdout.writeln(); |
| 21 |
| 22 stdout.add(spades.codeUnits); |
| 23 stdout.writeln(); |
| 24 stdout.add(german.codeUnits); |
| 25 stdout.writeln(); |
| 26 |
| 27 stdout.writeln(spades); |
| 28 stdout.writeln(german); |
| 29 print(spades); |
| 30 print(german); |
| 31 } |
| OLD | NEW |