Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Unified Diff: sdk/lib/core/string.dart

Issue 15333006: Rewrite double.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add parenthesis. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/core/string.dart
diff --git a/sdk/lib/core/string.dart b/sdk/lib/core/string.dart
index ebcfe10950f9c9605b7712276dca64adb425f397..f7b882693989e8f7b6d290eaf29b953a54fa60dc 100644
--- a/sdk/lib/core/string.dart
+++ b/sdk/lib/core/string.dart
@@ -145,13 +145,16 @@ abstract class String implements Comparable<String>, Pattern {
String substring(int startIndex, [int endIndex]);
/**
- * Removes leading and trailing whitespace from a string. If the string
- * contains leading or trailing whitespace a new string with no leading and
- * no trailing whitespace is returned. Otherwise, the string itself is
- * returned. Whitespace is defined as every Unicode character in the Zs, Zl
- * and Zp categories (this includes no-break space), the spacing control
- * characters from 9 to 13 (tab, lf, vtab, ff and cr), and 0xfeff the BOM
- * character.
+ * Removes leading and trailing whitespace from a string.
+ *
+ * If the string contains leading or trailing whitespace a new string with no
+ * leading and no trailing whitespace is returned. Otherwise, the string
+ * itself is returned.
+ *
+ * Whitespace is defined as every Unicode character in the Zs category (which
+ * contains space and no-break space), Zl and Zp categories, the spacing
+ * control characters from 9 to 13 (tab, line feed, vtab, form feed and
+ * return), and 0xfeff, the BOM character.
*/
String trim();

Powered by Google App Engine
This is Rietveld 408576698