Skip to content

Commit 3ef8eed

Browse files
authored
Update README.md
1 parent b2f8d05 commit 3ef8eed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@ String schemeStripped = Substring.first("://").andBefore().removeFrom(uri);
183183

184184
**Example 3: split a string in the format of "name=value" into `name` and `value`:**
185185
```java
186-
Substring eq = Substring.first('=').in(nameValue).orElseThrow(...);
187-
String name = eq.getBefore();
188-
String value = eq.getAfter();
186+
Substring op = Substring.first('=').in(nameValue).orElseThrow(...);
187+
String name = op.getBefore();
188+
String value = op.getAfter();
189189
```
190190

191191
**Example 4: replace trailing "//" with "/" :**

0 commit comments

Comments
 (0)