Handy File and String Manipulation


[Up] [Top]

Documentation for package ‘filesstrings’ version 2.0.2

Help Pages

filesstrings-package 'filesstrings': handy file and string manipulation
AllEqual Defunct functions
all_equal A more flexible version of all.equal for vectors.
BeforeLastDot Defunct functions
before_last_dot Get the part of a string before the last period.
CanBeNumeric Defunct functions
can_be_numeric Check if a string could be considered as numeric.
CharListElemsNthElem Defunct functions
CountMatches Defunct functions
count_matches Count the number of the matches of a pattern in a string.
CreateDirsIfNotThere Defunct functions
create_dir Create directories if they don't already exist
currency Get the currencies of numbers within a string.
dir.remove Remove directories
DuplicatesToSingles Defunct functions
ExtendCharVec Defunct functions
extend_char_vec Pad a character vector with empty strings.
ExtractNonNumerics Defunct functions
ExtractNumbers Defunct functions
extract_non_numerics Extract numbers (or non-numbers) from a string.
extract_numbers Extract numbers (or non-numbers) from a string.
file.move Move files around.
filesstrings 'filesstrings': handy file and string manipulation
filesstrings-defunct Defunct functions
first_non_numeric Extract numbers (or non-numbers) from a string.
first_number Extract numbers (or non-numbers) from a string.
GetCurrencies Defunct functions
GetCurrency Defunct functions
get_currencies Get the currencies of numbers within a string.
get_currency Get the currencies of numbers within a string.
GiveExt Defunct functions
give_ext Ensure a file name has the intended extension.
GroupClose Defunct functions
group_close Group together close adjacent elements of a vector.
last_non_numeric Extract numbers (or non-numbers) from a string.
last_number Extract numbers (or non-numbers) from a string.
LocateBraces Defunct functions
locate_braces Locate the braces in a string.
MergeTablesOnDisk Defunct functions
MoveFiles Defunct functions
move_files Move files around.
NiceFileNums Defunct functions
NiceNums Defunct functions
nice_file_nums Make file numbers comply with alphabetical order
nice_nums Make string numbers comply with alphabetical order
NthNonNumeric Defunct functions
NthNumber Defunct functions
nth_non_numeric Extract numbers (or non-numbers) from a string.
nth_number Extract numbers (or non-numbers) from a string.
NumListElemsNthElem Defunct functions
PasteCollapseListElems Defunct functions
PasteDifferentLengths Defunct functions
PutInPos Defunct functions
put_in_pos Put specified strings in specified positions in an otherwise empty character vector.
RemoveDirs Defunct functions
RemoveFileNameSpaces Defunct functions
RemoveQuoted Defunct functions
remove_dir Remove directories
remove_filename_spaces Remove spaces in file names
remove_quoted Remove the quoted parts of a string.
RenameWithNums Defunct functions
rename_with_nums Replace file names with numbers
singleize Remove back-to-back duplicates of a pattern in a string.
SplitCamelCase Defunct functions
StrAfterNth Defunct functions
StrBeforeNth Defunct functions
StrElem Defunct functions
StrElemsPasted Defunct functions
StringsWithPatterns Defunct functions
StringToVec Defunct functions
StrListRemoveEmpties Defunct functions
StrSplitByNums Defunct functions
str_after_first Text before or after nth occurrence of pattern.
str_after_last Text before or after nth occurrence of pattern.
str_after_nth Text before or after nth occurrence of pattern.
str_before_first Text before or after nth occurrence of pattern.
str_before_last Text before or after nth occurrence of pattern.
str_before_nth Text before or after nth occurrence of pattern.
str_elem Extract a single character from a string, using its index.
str_first_instance_indices Get the indices of the nth instance of a pattern.
str_last_instance_indices Get the indices of the nth instance of a pattern.
str_nth_instance_indices Get the indices of the nth instance of a pattern.
str_paste_elems Extract bits of a string and paste them together
str_split_by_nums Split a string by its numeric characters.
str_split_camel_case Split a string based on CamelCase
str_to_vec Convert a string to a vector of characters
str_with_patterns Which strings match the patterns?
TrimAnything Defunct functions
trim_anything Trim something other than whitespace
UnitDirs Defunct functions
unitize_dirs Put files with the same unit measurements into directories