Advertisement

Results for "Category: String Manipulation"

3_2004-2005 #143493
Increment Serial Number

Increments any serial number string up to the length of the original string passed to the function. Allows serial string to have delimiters. This could be useful to anyone that require automatic incrementing of a number, such as a job number, receipt number, etc

3_2004-2005 #143559
Easy String Manipulation

I really don't like Database's so I came up with a new way to do it without all the hastle. I am not saying it is great, but its a quick fix. More file saving tasks must be implemented but so far so good.

3_2004-2005 #143582
A Split Procedure

Splits a string into an array. If you send a " " it will split all the words into each array position.

3_2004-2005 #143598
Project Executable Protection: CRC32 Checksum Validation, a MUST have for all programmers

A MUST have for any VB programmer - protect your project .exe file with CRC32 checksum validation - makes it virtually impossible for crackers to make software patches for your exe!

3_2004-2005 #143628
A Good 'IntelliSense' Function. (Auto-Complete) For TextBoxes

Like IE4 and IE5, this module when setup with your TextBoxes, will make repetitive data entries easier for your users. For example, if "hello" had been typed into the TextBox earlier, at a later date, all the user has to do is type "h" and the rest of the word will appear. Just in the style of IE4. This stores all the keywords in a file named after the TextBox specified. It automatically adds new words to this list when the user presses Enter on the keyboard. Even though I've uploaded it as a ZIP, it's not because it's hard, but to make it easier to understand how it's working.....

3_2004-2005 #143646
_A Smart String Comparison

This takes 2 strings and returns the percent alike that they are. (i.e. "test string number 1" is 86.48% similar to "teststring numb 2") This function is very useful! You can use it in databases to match data that may have errors in it. Examples being people's names, company names, addresses, or anything else where you may encounter misspellings or inconsistencies in the data. Your feedback and/or votes are greatly appreciated! -- NEW - updated to use byte arrays instead of strings, 50-300% performance improvement! An implementation of the , Ratcliff/Obershelp/Levenshtein method.

3_2004-2005 #143653
Uppercase The First Letter Of Every Word Inside A String With Only 1 Line Of Code

This will uppercase the first letter of a every word in a string. For Example "this is a string" -> "This Is A String". You need only 1 line of code.

3_2004-2005 #143657
AlphaConvert

Converts two character strings of A-Z or AA-ZZ into integer equivalents. Example: User inputs "A", returns 1, user inputs AE, returns 110 and so on.

3_2004-2005 #143668
Total String Manipulation!

Several examples on how to totally manipulate a string. How to Reverse Strings, Add Spaces, make a string "Elite", etc. Also demonstrates how to get letters from a string and add to them or remove them. It is heavily commented and should really help a lot of people. Cool stuff. (:

3_2004-2005 #143669
String trimmer

Just a little snip of code that lets you trim a specified number of characters from either side of a string.

3_2004-2005 #143721
Two Complete Parsing Functions. Easy to use.

Allows you to parse strings like those excel spread sheats. Example : Text1.Text = "Me,You,Us" MsgBox(Parse(Text1.Text, ",", 1)) Would return "Me"

3_2004-2005 #143808
BBMultiFind

Compares a string to a list of items in another string, and returns how many matches are found

3_2004-2005 #143866
Expanding/Contracting Dynamic Text

This sample demonstrates a text effect whereby text drawn on the form expands and contracts (i.e., the width and height are continually increased then decreased). For more my code samples visit my personal web site: click above on my full name.

3_2004-2005 #143895
UCase to LCase & LCase to UCase Converter

THIS VERY COOL FUNCTION TAKES A NORMAL STRING AND CONVERT EVERY CHARACTER IN IT FROM UCase TO LCase OR FROM LCase TO UCase... CHECK IT OUT!! AND VOTE IF YOU FIND IT USEFUL

3_2004-2005 #143911
A Left To Right Marquee Form Caption

This Moves a Forms caption from left to right.

3_2004-2005 #143960
Password_Darker

The passwords typed in a textbox can be read even if the * appears. But there is a way to prevent this. This is why i created this code. It prevent users from using programs like Spy to read the password (http://come.to/kobik) if the URL don't change.

3_2004-2005 #144041
FormatRTF Richtext Formatting Function

This function takes tag delimited text and converts it for display in a richtext box. Great for email headers (from, to, subject lines). Someone Rank this Thing...Enjoy!!

3_2004-2005 #144054
Text Manipulation

This code show you how to count the letters, numbers, characters ("A","b",etc.), Spaces, Word's, Lenght, etc. in a text.

3_2004-2005 #144058
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!!

3_2004-2005 #144059
Word Wrap Printing

This is a subroutine to automatically wrap a text string in whole words to a printer.

Languages
Top Categories
Global Discovery