Skip to content

Commit c4252b5

Browse files
Update README.md
1 parent 0018f23 commit c4252b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ test = String("Hello World")
99
print(test) # Hello World
1010
print(test.isNumber()) # False
1111
print(test.length) # 11
12+
print(test.hasSpace()) # True
13+
print(test.subString(0, 5)) # Hello
1214
```
1315
你同样可以重写这些类,来为它们添加更多方法<br>

0 commit comments

Comments
 (0)