Strman 库的Java 实现,Strman是无任何依赖的string操作库,前后端通用。
Maven中配置pom.xml:
<dependencies> <dependency> <groupId>com.shekhargulati</groupId> <artifactId>strman</artifactId> <version>0.2.0</version> </dependency> </dependencies>
使用示例:
import static strman.Strman.append append("f", "o", "o", "b", "a", "r") // result => "foobar" import static strman.Strman.appendArray appendArray("f", new String[]{"o", "o", "b", "a", "r"} // result => "foobar"