Added Sring.isDKS()

This commit is contained in:
Erik C. Thauvin 2016-09-04 23:46:16 -07:00
parent 7e72dfe268
commit a1af609c28

View file

@ -31,6 +31,10 @@ fun String.isDigits() : Boolean {
return true
}
fun String.isDKS(): Boolean {
return this.equals(Dtmf.DKS, true)
}
fun String.replaceAll(replace: Array<Pair<String, String>>): String {
val result = StringBuilder(this)
var offset: Int