str     Manipulate string

Subcommand:
        help                    ""
        version                 ""
        join                    Concatenate arguments with seprated string. str join <seperated string> <part> [...parts];
        len                     Calculate the length of string
        trim                    Delete whitespace from both ends of a string
        trim_left,trim_begin    Delete the spaces at the begining of the string
        trim_right,trim_end     Delete the spaces at the ending of the string
        trim_eol_space          Delete the spaces at the ending of all lines
        split                   Split the string
        split_to_lines          Split the string into lines
        work                    Control debug flags.
        upper,lower             Calculate the uppercase/lowercase of string
        starts_with             Upgrade xrc from 'https://get.x-cmd.com/script'
        starts_with_regex       Provide cache filepath
        ends_with               Clear the cache
        ends_with_regex         Control debug flags
        slice                   Calculate the slice of string.
        indexof                 ?
        dos2unix,unix2dos       ?
        repeat                  ?
        base64,unbase64         ?
        md5,sha                 ?
        sha1,sha256,sha512      ?
        repr                    ?
        replace                 Searches a string for a specified value, and returns a new string where the specified values are replaced
        replace_all             Replace all occurences of the specified value in the string with substitued value.
        replace_nth             Replace nth occurence of the specified value in the string with substitued value.
        regex                   Universal regex pattern match function for posix shell, like ash, ksh, dash, bash, zsh.