Skip to content

Commit d7910e7

Browse files
committed
Added documentation of append and appendArray methods to README.md
1 parent 654b17e commit d7910e7

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
strman-java
2+
------
3+
4+
A Java string manipulation library without any dependencies. It is inspired by [dleitee/strman](https://github.com/dleitee/strman).
5+
6+
7+
## Available Functions
8+
9+
* [append](https://github.com/shekhargulati/strman-java)
10+
* [appendArray](https://github.com/shekhargulati/strman-java)
11+
12+
13+
## append(value, strings...)
14+
15+
This method will append `strings` to the `value`.
16+
17+
```java
18+
import static strman.Strman.append;
19+
String title = "s";
20+
String result = append(title, "tr","m","an");
21+
// result = "strman"
22+
```
23+
24+
25+
## appendArray(value, strings)
26+
27+
This method will append all the values in `strings` array to the `value`.
28+
29+
```
30+
import static strman.Strman.appendArray;
31+
String title = "s";
32+
String result = appendArray(title, new String[]{"tr","m","an"});
33+
// result = "strman"
34+
```

0 commit comments

Comments
 (0)