Skip to content

Commit 4eadbb0

Browse files
committed
Add string utils object with basic string operations
1 parent 4c06853 commit 4eadbb0

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package io.ksmt.utils
2+
3+
import io.ksmt.expr.KStringLiteralExpr
4+
5+
object StringUtils {
6+
7+
@JvmStatic
8+
fun concatStrings(lhs: KStringLiteralExpr, rhs: KStringLiteralExpr): KStringLiteralExpr = with (lhs.ctx) {
9+
mkStringLiteral(lhs.value + rhs.value)
10+
}
11+
}

0 commit comments

Comments
 (0)