Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rk0cc committed Nov 17, 2020
1 parent f7ad4fc commit 8af75b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ It should be fine for other language, otherwise, please create new issue to solv
## Usage
Import this package first:
```python
import UnicodeStringContainCheck
import unicode_string_contain_check
```
Recommended ways:
```python
# Name what you want
import UnicodeStringContainCheck as uin
import unicode_string_contain_check as uin
```
Check does the word contain in the phrase:
```python
Expand All @@ -36,7 +36,7 @@ It's contain!!!
```
A python file should be looks like:
```python
import UnicodeStringContainCheck as uin
import unicode_string_contain_check as uin

if __name__ == "__main__":
if uin.utf_contain("遊戲保持了前作般的高自由度,玩家可以隨心所欲地進行","隨心所欲"):
Expand All @@ -46,7 +46,7 @@ if __name__ == "__main__":
<hr>

## Guides
`contain(usr_input,target_text)`: Check does the target (`target_text`) contains in a string (`usr_input`)
`unf_contain(usr_input,target_text)`: Check does the target (`target_text`) contains in a string (`usr_input`)

<hr>

Expand Down

0 comments on commit 8af75b6

Please sign in to comment.