Module jay_lib::fns::fn_str

source ·
Expand description

Command string functions.

Functions

  • First char of first word to Capitalize / But return is Cow<str>
  • First char of first word to Capitalize A mnemonic node
  • Check the string is or not English But, if it is a phrase. What to do? Example:
  • Check the string has Chinese. Example:
  • Command get middle subject str. Example:
  • It is get first word form str. Just a mnemonic node to remember it. Example:
  • Got middle substrings from string to Vec<String> Example:
  • Command get middle subject str. Example:
  • 0.1.2.3.4.5.6.7.8.9 Example
  • It is get last word form str. Just to remember it. Example:
  • Vec<u8> to Vec<char> A mnemonic node
  • convert a number into a binary number string like “0010000001011001..” Example:
  • Vec<u8> to String A mnemonic node