String
extract filename from a full path string easily returns the filename component of a path with the built-in PHP basename() function. Useful for splitting a string path to get the filename.
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (61): extract filename from a full path string Download |
Align text string script aligns string with spaces between words to fit specified width.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (61): Align text string 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 |
When working with text, it may be necessary to change the indentation level of a block. This code will take a multiline string and add or remove leading spaces to each line so that the indentation level of the block matches some absolute number of spaces.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (60): Changing the indentation of a multi line string Download |
This script defines a class you could use in place of a string and it emulates a string in all practical ways except that comparisons and lookups are case insensitive. All uses of the string for assignments, however, yield the original case.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (60): Case Insensitive Strings Download |
This module provides several functions that can encode and decode a string. It also has a function called partition for designing faster algorithms.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (60): z_string Download |
This script allows you to replace a portion of a string at a given position.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (59): Replacing a portion of a string 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 accepts a number or string and formats it like U.S. currency. It adds the dollar sign, rounds to two places past the decimal, adds place holding zeros, and commas where appropriate.Occurs when the user clicks the button or when they finish entering the money amount (and click into the...
Platforms: JavaScript
License: Freeware | Size: 102.4 KB | Download (59): Currency Format Download |
Reversing a String by Words or Characters script allows you to reverse the characters or words of a string.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Reversing a String by Words or Characters Download |
This script contains a function that takes in an arbitrary string and converts it into its raw string equivalent. It is very useful when a user needs to input text and you want the raw equivalent to be used and not the processed version.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Convert a string into a raw string Download |
Python's built in function str() and unicode() return a string representation of the object in byte string and unicode string respectively. This script introduces an enhanced version of str() and unicode() that could be used as handy functions to convert between byte string and unicode. This...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Conversion to unicode or byte string Download |
This script go thru directory tree and looks for files of specified pattern, and then replace in those files a string with new one, overwriting old file without backups.
Platforms: Windows, Python,
License: Freeware | Download (58): Replace occurrence of string in files Download |
This script takes a string and returns a list containing the n-sized pieces of the string.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Split String into n-size pieces Download |
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 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 |
This script uses string.index(sub) function which returns a list of indices of ALL occurances of a substring in the string.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Indices of a SubString in a Given String Download |
Java Obfuscator Anti-Decompiler (JOAD) is a smart java code obfuscator, class optimizer and string encrypter. It is a highly configurable but easy to use program.
JOAD - Java Obfuscator Anti-Decompiler uses techniques such as smart name obfuscation (does not omit but obfuscates class files...
Platforms: Windows
License: Shareware | Cost: $24.99 USD | Size: 2.6 MB | Download (58): JOAD - Java Obfuscator Anti-Decompiler Download |
This script is useful when you want to access portions of a string. For example, you've read a fixed-width record and want to extract the fields.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Accessing Substrings Download |