Python/String
< Python
Jump to navigation
Jump to search
Using statements
Using methods
| Sample | |
|---|---|
| bytes => str | b'abc'.decode('utf-8)
|
| Prefix & Suffix | if s.startswith(): ...
if s.endswith(): ...
|
| Sample | |
|---|---|
| bytes => str | b'abc'.decode('utf-8)
|
| Prefix & Suffix | if s.startswith(): ...
if s.endswith(): ...
|