Check for the first case insensitve occurrence of string and returns the index of the first character. Otherwise returns -1 if it does not exist.
published 1.0.0 5 years agoCheck for the last instance of string and returns the index of the first character, if it exists. Otherwise returns -1 if it does not exist.
published 1.0.1 4 years agoGet line number in a script for debugging or other uses.
published 1.0.0 5 years agoReplace a set of strings contained in an array with a corresponding string in the 'replacement' array, or use a single string used as 'replacement'. If arrays are used they MUST be the same length. Using the 'g' flag replaces all occurences of search, 'i'
published 1.0.5 3 years agoForeach that operates with Objects instead of arrays.
published 1.0.0 4 years agoPush that operates with Objects instead of arrays, used for joining objects including renaming duplicate keys (if the first parameter is true, default is false), by appending four underscores ( ____ ) and a number to the end of the key. Thereby making it
published 2.0.0 3 years agoLength that operates with Objects instead of arrays.
published 1.0.1 4 years agoUpper case first letter of string or take the first word of each array entry and uppercase the first letter.
published 1.0.1 4 years agoReturn the contents of a file as an array of lines.
published 1.0.3 3 years agoPHP style wrapper to read the entire file into a string for nodejs. Encoding is automatically detected.
published 1.0.2 3 years ago