kh-bd / interp4j

String interpolation library for Java
9 stars 0 forks source link

Support `s` with binary operators #34

Closed KhadanovichSergey closed 2 years ago

KhadanovichSergey commented 2 years ago

Strings can be used with + binary operator. Interpolation should be supported for such case:

String result = s("Hello, $name") + s("I'm $age");

It seems weird to use interpolation in such way, but may be someone need it :)

KhadanovichSergey commented 2 years ago

done in 615b249