Merge pull request #336 from christian-laakmann/patch-1

KT-4371 Add Char.plus(String) to standard library
This commit is contained in:
chashnikov
2014-01-15 04:48:04 -08:00
+5
View File
@@ -34,3 +34,8 @@ public fun Char.isUpperCase(): Boolean = Character.isUpperCase(this)
* Returns true if this character is lower case
*/
public fun Char.isLowerCase(): Boolean = Character.isLowerCase(this)
/**
* Concatenates this Char and a String
*/
public fun Char.plus(string: String) : String = this.toString() + string