 
      
    | You are here | zacharyparsons.co.uk | ||
| | | | | zzamboni.org | |
| | | | | To collect all regex matches in a string into an array, pass the regexp object to the string's scan() method, e.g.: myarray = mystring.scan(/regex/). Sometimes, it is easier to create a regex to match the delimiters rather than the text you are interested in. In that case, use the split() method instead, e.g.: myarray = mystring.split(/delimiter/). The split() method discards all regex matches, returning the text between the matches. The scan() method does the opposite. | |
| | | | | tommorris.org | |
| | | | | A short guide to string encoding in elisp. | |
| | | | | zed.code.blog | |
| | | | | From the FreeCodeCamp intermediate algorithms here: Return an English translated sentence of the passed binary string.The binary string will be space separated.FreeCodeCamp - Binary Agents For this challenge I began by splitting the binary string into an array of the given 8 bit blocks. This would make it a lot easier to work with. Then,... | |
| | | | | www.sixfoisneuf.fr | |
| | | |||