| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * The String class represents character strings. Strings are | 6 * The String class represents character strings. Strings are |
| 7 * immutable. A string is represented by a list of 32-bit Unicode | 7 * immutable. A string is represented by a list of 32-bit Unicode |
| 8 * scalar character codes accessible through the [charCodeAt] or the | 8 * scalar character codes accessible through the [charCodeAt] or the |
| 9 * [charCodes] method. | 9 * [charCodes] method. |
| 10 */ | 10 */ |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 List<String> split(Pattern pattern); | 110 List<String> split(Pattern pattern); |
| 111 | 111 |
| 112 /** | 112 /** |
| 113 * Returns a list of the characters of this string. | 113 * Returns a list of the characters of this string. |
| 114 */ | 114 */ |
| 115 List<String> splitChars(); | 115 List<String> splitChars(); |
| 116 | 116 |
| 117 /** | 117 /** |
| 118 * Returns a list of the scalar character codes of this string. | 118 * Returns a list of the scalar character codes of this string. |
| 119 */ | 119 */ |
| 120 List<int> charCodes(); | 120 List<int> get charCodes; |
| 121 | 121 |
| 122 /** | 122 /** |
| 123 * If this string is not already all lower case, returns a new string | 123 * If this string is not already all lower case, returns a new string |
| 124 * where all characters are made lower case. Returns [:this:] otherwise. | 124 * where all characters are made lower case. Returns [:this:] otherwise. |
| 125 */ | 125 */ |
| 126 String toLowerCase(); | 126 String toLowerCase(); |
| 127 | 127 |
| 128 /** | 128 /** |
| 129 * If this string is not already all uper case, returns a new string | 129 * If this string is not already all uper case, returns a new string |
| 130 * where all characters are made upper case. Returns [:this:] otherwise. | 130 * where all characters are made upper case. Returns [:this:] otherwise. |
| 131 */ | 131 */ |
| 132 String toUpperCase(); | 132 String toUpperCase(); |
| 133 } | 133 } |
| OLD | NEW |