Advertisement

Results for "Category: String Manipulation"

6_2008-2009 #196699
Faster Password Generation

This is a "password generator" that can (on my puny PII 333mHz computer) generate about 40000-80000 passwords per second (number varies based on password length). This project was inspired by this Planet-Source-Code post: "Fast BruteForce Class Example" by §e7eN. http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=48276&lngWId=1 and by various websites, code snippets, and newsgroup posts. I have no interest/knowledge in using this to break into anything or do any harm. I'm do love the logic behind such challenges. Though, I'm sure I'm at the pre-k level when it comes to serious string manipulation.

6_2008-2009 #196700
RainbowText v1.00

This is just a trivial little app that creates actual rainbowed colored text (unlike that ubiquitous random colored letter code). See the README.txt for more info on the color conversion functions.

6_2008-2009 #196747
Easily Replace a character in a string

Replaces a character in a string with another character. Pretty simple to understand. Uses a For...Next loop.

6_2008-2009 #196774
MYSPACE CLONE

This is my MySpace Clone sample source code using PHP + MySQL. If you like my code just vote for it.. Have a nice day..

6_2008-2009 #196792
Parse a delimited string into an array

This code with scan through a string looking for a delimiter of your choice, and will put the text inbetween the delimiters into seperate elements of an array.

6_2008-2009 #196856
List VB Functions

Hi this is a project that will allow you to open a bas file or form and list all the function in a combo box. then you can select the function name form the combo box and it will display that function in a text box. at this time it only works in function names eg function centerform(frm as form) but you can change it to do other string like sub or private subs anyway have a look at the example.txt I have left in the folder and open that up and you will see. anyway I hope that someone might find some us of it please vote if you like it... bye... :)

6_2008-2009 #196875
DM Strings FX

Hi this is a little String Manipulation project I made To help beginners understand strings and people at other levels I have included all examples of each function to make it easyer. Sorry I have not included many comments if any but I was bussy at the times working on another project anyway I hope you get some Ideas from it. please vote if you like this code and level comments.

6_2008-2009 #196927
DM Simple Lexical

Hi made this in the hope that it may be of some use to any one, that wanted to know how to write a Basic Lexical. The meain Reason I made it was to build a small simple Compiler, But you may use it for a scripting lanuage or anything you want. Well I Hope you like it.

6_2008-2009 #196953
String Tokenizer

This is a very small String tokenizer class, that can tokenize a string based on a patten, usfull for evalulators of anything else, anyway hope you like it.

6_2008-2009 #196969
Numerals

Revised Roman Numeral generator. This version will in theory generate numbers in excess of 1000000 using the standard numbering conventions, i.e. 5000 is equal to a V with a line above and below..

6_2008-2009 #196978
A .Net Database Sample

Sample application/*.sln for beginners and intermediates using OLEDb. Other controls used are ListView, ListBox, and MenuItems. Also uses ArrayList as a collection holder for the entries in the DB. Comes with *.mdb file. Pretty good beginning point for OOD. Complete with Update/Delete/Add/Refresh SQL Commands.

6_2008-2009 #196980
HTTPSafeString

Makes a string http querystring friendly by replacing all non-alpha and non-numeric characters with the appropriate hex code. Helpful when using the wininet API. example: "(Find This)" becomes "%28Find%20This%29"

6_2008-2009 #196983
NitroSort

Sort Arrays at lightning speeds! I guess you could say this is the sequal to the TurboSort routine I recently uploaded. One of the comments pointed out that the CopyMemory API was about as fast as VB could swap strings, but the sort algorythm (BubbleSort) was poor and that the QuickSort algorythm was much faster.After some searching on the mothership, I found out how the QuickSearch algorythm worked and viola, here it is. This truely is fast. Here are the tests results. My system is a P233 with 128MB of RAM. I generated an array of 10,000 rows. Each row contained 100 random characters ranging from A-Z. I performed three tests. Here are the times in milliseconds. BubbleSort QuickSort Test 1 131,195.3 398.438 Test 2 131,351.6 421.875 Test 3 130,882.8 390.625 Whew!

6_2008-2009 #196984
TurboSort

Sort arrays much faster with a better string swapping routine! Wow, I couldn't believe all the rewrites of the same sorting routines in PSC. "Look at mine", "No, use mine", yadda, yadda, yadda. They all use the horribly slow: vTemp = String1 String1 = String2 String1 = vTemp Geezzzz - When you have to sort 30,000+ strings this is slllooooowwwwwww. Here's a solution. It uses the the same sorting routine (or choose your own), but implements a much faster swap routine using the CopyMemory() API. Now, instead of swapping strings, which in my case could be up to 9,000 characters, you are only swapping a 4 byte memory address. Rock On!!

6_2008-2009 #196991
FindPhoneNo

This function searches a text string for possible phone numbers and returns an array of those numbers. It allows you to specify a default area code, too. (If you know an easier or more elegant way to do this, let me know!) Doesn't work for international numbers.

6_2008-2009 #197001
GetList32 - Get 32 Bit Listbox Text with VB3

This code will get text from listbox's on 32 bit software using VB3. I've been trying to find a way to do this for a long time now. It was not possible in the past because getting listbox text using vb3 for 32 bit programs, required User32 and Kernel32 which vb3 did not allow. So I looked and looked for a way to do it and I found it. A DLL called "Call32.dll" allowed me to use 32 bit dll's. So here it is. If you like the code, please vote for me. Also, if someone can lead me on the right path for creating a .HLP file in vb3, I will create a help file on using Call32.dll. Jeffrey C. Tatum - http://www.oaknetwork.com/vb

6_2008-2009 #197002
AIM Toc 2.0 Logon Algorithm

This will create the 8 or 9 digit number that goes along with the log on packet for the newest version of the AIM TOC Protocol (version 2.0). The number that it makes, is based on the screen name and password. I guess it was a security feature added in, to prevent users from making AIM Crackers.

6_2008-2009 #197195
C++ OO Database library

The Variable Block Database (VBD) is a collection of C++ classes used to build portable database applications. Release 1031 features built-in support for multi-user and single user access. Database access methods include a B-tree with iterator and memory caching, navigational access, fixed and variable-length records. Includes general-purpose data structures such as linked lists, stacks, queues, balanced binary trees and others as well as a variable length string class, a postscript driver, and HTML driver. Ships with an advanced database recovery utility plus other text and binary utilities. Several example programs with are provided to demonstrate each of the concepts presented. This release has been built and tested under Windows 95/98, MSDOS, HPUX 10.20, Solaris 2.4, and RedHat Linux 5.2. All documentation is an HTML format, covering the class library, the example programs, and the utility programs included with the distribution. http://www.trumphurst.com/cpplibs5.html#Libraries_available_via_FTP__Q_Z_ Copyrighted freeware--Copyright © 1997 Douglas M. Gaer.

6_2008-2009 #197223
Rich Text Tag Editing Demo

This demo shows some of the capabilities of editing RichTextBox tags to achieve very fast global formatting. Great for Syntax Highlighting etc.

6_2008-2009 #197228
Fit Text to Picture Box

Finds the most appropriate font size to display a piece of Text in a picture box. Allows user to determine the Alignment of the text (Left, Right, Centre or Full justification). Options to include a drop-shadow, and the direction of the shadow are also included. Includes test form with example.

Languages
Top Categories
Global Discovery