some function for handle str for ymc shell lib
- str_set
- str_length
- str_index_of
- str_last_index_of
- str_replace
- str_split
- str_char_at
- str_charcode_at
- str_unicode_at
- str_from_charcode
- str_from_unicode
- str_match
- str_slice
- str_substring
- str_substr
- str_trim
- str_eq
- str_fill
cat src/index.sh | grep "function " | sed "s/function */- [x] /g" | sed "s/() *{//g"
# get the code
# run the index file
# ./index.sh
# or import to your sh file
# source /path/to/the/index file
# simple usage
# get the code
# run test
./test.sh
#2 get some fail test
#./test.sh | grep "it is false"
yemiancheng ymc.github@gmail.com
MIT