Path String
Missing string functions script introduces some functions to help you manage international text.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Missing string functions Download |
This script could help you to know the relative path from one path to another in order to create a symbolic link, a relative reference in URL, etc.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (62): Compute relative path Download |
Hash a string script hashes a string (preferably your name) to an alter ego description.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Hash a string Download |
The image is uploaded separately and is dependent upon the current path.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (48): Path Image Download |
It provides the means to restrict pages based on their path alias - meaning you can lock out certain user role groups from whole sections of a site using wildcards.Installation - Unpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules....
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (54): Path Access Download |
This script takes as input a graph and outputs Eulerian path (if such exists). The worst running time is O(E^2).
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Finding Eulerian path in undirected graph Download |
This script allows you to generate all the string described by a pattern passed on the command-line.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Simple pattern-based string generator Download |
This script represents a way to parse command line from user provided string or try to get the original Argv from Windows OS Platform.
Platforms: Windows, Python,
License: Freeware | Download (58): Parse Command Line String from CommandLine Download |
For quick-and-dirty processing of Python source files, it can be convenient to have a regular expression that matches Python string literals. This script provides such a regular expression. The example use case above shows how it could be used to rename a variable in a P shows hoe.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (59): Regular expression for python string literals Download |
This script implements a string searching algorithm based upon Boyer-Moore string searching, which is considered one of the most efficient string searching algorithms. Boyer-Moore-Horspool only uses the bad-suffix window for matching and is therefore simpler to implement and faster than normals...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (60): Boyer-Moore-Horspool string searching Download |
Reverse a string script allows you to reverse a string.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Reverse a string Download |
Pseudo-random string to float conversion script converts strings to floats in the range [0, 1), using a hash function.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Pseudo-random string to float conversion Download |
The main purpose of these functions are to allow encoding a string from base 256 to a special base 255. The function view the strings as numbers and simply change what base they are written in. This is not recommended for very long strings; otherwise, the encoding and decoding process can take a...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Encoding A String Download |
This script is a queue data structure, for string data only, which looks like a File object. This class takes care of the list.append and .join mess, which is needed for fast string concatenation.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): A queue for string data Download |
This script contains a function that adds the specified path to the Python system path if it is not already there. It takes into account terminating slashes and case (on Windows). It returns -1 if the path does not exist, 1 if it was added, and 0 if it was not (because it is already present).
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Dynamically change the Python system path Download |
The main purpose of these functions are to encrypt and decrypt a string (or change the string from one "language" into another). The code is simple, but it provides a simple solution to a well-known encryption scheme. As a recommendation, this may be better when used in conjunction with an...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Encrypting A String Download |
It is a matlab function that codes a string of char with Arithmetic coding.res=arithmetic_code(alphabet, distr_pr, string)'alphabet' is a vector that contains the char used in the string 'string'; 'string' is the string to codify; 'distr_pr' is the probability distribution of the alphabet's...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Arithmetic code to encode a string of char Download |
Statement: strLetterCounter('string')....where, 'string' is an input string containing alphabet or numbers.Ex: string='aaaaaaaabbbbbbccd'Statement: strLetterCounter(string)Output: '8a,6b,2c,1d'Note: This function is different from the Matlab function called 'unique' because it keeps the order in...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (38): String Letter Counter Function Download |
This function is based on Yen's k-Shortest Path algorithm (1971)It retuns:1) [shortestPaths]: the list of K shortest paths (in cell array 1xK)2) [totalCosts] : costs of the K shortest paths (in array 1xK)Yen's algorithm prevents loops.This function calls a slightly modified/simplified function...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): K-Shortest Path Download |
The program can be used to search a word or string in a text file.The output gives you the information at what line number it exists and how many such words or strings are present in that line.Key Features: Simple to use.Quick result.Options for both case sensitive and case insensitive situations...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): FIND STRING IN A TEXT FILE Download |