lib: use bracket notation instead of startsWith/endsWith for single char
#80099
| Job | Run time |
|---|---|
| 3m 46s | |
| 48m 16s | |
| 52m 2s |
startsWith/endsWith for single char
#80099
| Job | Run time |
|---|---|
| 3m 46s | |
| 48m 16s | |
| 52m 2s |