Advertisement

Results for "Category: String Manipulation"

ASP_Volume3 #48299
Caption Scroller - IMPROVED!

This Code will Scroll the title of your window(s) like Winamp To the left OR to the right.

ASP_Volume3 #48337
Strip Characters from a string

This function is to strip all instances of a character out of a string. Its fairly compact and simple. Hope its helpful to someone. :)

ASP_Volume3 #48379
Auto-Select Text on Focus

Nice feature to help users edit textboxes. The code selects all the existing text when the users focus on the textbox control. This will definitely make your application more user friendly. Please Vote!!!

ASP_Volume3 #48394
Twisted Text

Makes Twisted Text, Kinda Like Scrambled

ASP_Volume3 #48433
Calculate Age in ymd

I needed a routine to display the difference between two dates in year month day format. I found a couple here on pcs and another on a different site. Here is a project to call the three routines and display their results side by side. In case your wondering about Datediff it returns the number of times the year, month or whatever has changed between the two date. i.e. it returns 1 when from is dec 31 yyyy and to is jan 1 yyyy+1. Anyway here are three routines, two of them worked in all the test conditions I tried, the other gets a wild hair up it rear every once in a while. Louis Boldt 2/16/02

ASP_Volume3 #48454
WordWrap in only 5 codelines

I hope that this is the shortest and easiest wordwrap-function in vb you have ever seen, that you enjoy it and use it in all your projects :-)

ASP_Volume3 #48521
Strings

This teaches users how to manipulate strings using. Left(),Right(),Mid(),Len(),Instr(),Lcase(),Ucase() and StrReverse().

ASP_Volume3 #48531
A great program that gets random characters from a text box!(Updated again!!)

I looked on this site to find something like this, but i didnt find exactly what i wanted. Here is the source that i created that takes random characters from a text box and places them in a label. It takes a user defined amount of characters including spaces and periods and everything else. =) UPDATED AGAIN!! Now has added features! Can count characters and vowels and words etc! If you know a better way to do this, please email me. This type of program can be used for fortunes, making up new words, choosing usernames(i actually know somebody that did this with a similar program), etc. PLEASE VOTE!!!

ASP_Volume3 #48532
a easy character/word/space etc counter

This program lets you input text or copy paste from another program. as you type or the text is pasted in, it counts the amount of words, spaces, vowels, consanents, etc. It can be used for programs like icq, text editors, and much more! Please give me feedback and vote!

ASP_Volume3 #48543
String Processing Library (Parsing, Translation, Validation)

Library of routines for typical string processing, including parsing, translation, and validation. Routines include: - StrReplace(Text, SearchFor, ReplaceWith, [Compare]) As String - StrSplit(Text, SplitOn, [Compare]) As Variant - FromHex(HexNumber) As Long - LeftPad(Value, Size, [PadCharacter]) As String - RightPad(Value, Size, [PadCharacter]) As String - AreLetters(Text) As Boolean - AreDigits(Text) As Boolean - AreLettersOrDigits(Text) As Boolean - AreInSet(Text, CharacterSet, [CaseSensitive]) As Boolean - ParseN(Text, StartAt, PatternArray, ValueArray, [PosPastEnd], [StopAt], [Compare]) As Boolean Clean code with lots of comments in reusable module. Also includes an extensive reference in HTML. Tested with VB6, but should be compatible with all modern versions and VBScript (with minor modifications). Please vote for this code if you like it.

ASP_Volume3 #48558
ReadFile

Read an entire text file into a string in one call.

ASP_Volume3 #48569
RTF Writer

DLL that allows you to write RTF code that is compatable with Windows WordPad. Use this object to convert HTML to RTF, or to generate RTF file on the fly!!!! Don't bother looking anywhere else for this hot little piece of code ( I spent hours on the net looking, finally I gave up and wrote it myself!) Look here for future updates, up next... picture, and table support! Added Bonus: Object that enumerates through the fonts on your system and gets the Picth, and Font Family for each one!!!!!!!!

ASP_Volume3 #48571
Search a string using a web search engine like query

This code demonstrates how to search a string using a web search engine style query. With this code you can analyze text files looking for specific patterns. For example: (Microsoft and AOL) or "instant messenger" This query will analyze any string for the occurrence of the words Microsoft and AOL or "instant messenger". I use this code (in conjunction with other code) to scan the users hard drive for occurrences of text files that meet the user defined search parameters. This is an enhanced version of the search for files containing text feature in windows.

ASP_Volume3 #48590
Absolute EASIEST Way To Find And Replace Text in Any Control!!

Absolute Easiest Way To Find And Replace Text in Any Control - ie: labels, textboxes, basically ANY control that supports text editing!!

ASP_Volume3 #48610
Return a Group of Random Records

To return a group of Random Records from a database. For example, a group of random questions for a quiz/test.

ASP_Volume3 #48619
Display Databases Dynamically Using ADO 2.5

If you are looking for a simple solution to display data and be able to sort and query it, you are on the correct page. Complex relationships between recordsets can be viewed using this technique. It is easier to use compared to ASPDB solution. Download Complete source code and explanation.

ASP_Volume3 #48621
A Complete Database Accessing Web Site!

This article not only includes the complete source code for a database driven web site that the author created, but includes a detailed description on how it works!

ASP_Volume3 #48640
Math Expression Parser

The zip includes an Expression Parser Class that parses and computes mathematical expressions (such as "-pi * sin(50 + 3 * 4) / -3"), and a demo client application. The parser supports built-in and user defined constants and built-in functions. Also, it demonstrates a variety of error-handling and VB tricks.

ASP_Volume3 #48739
INCREMENT STRING(ALPHA/NUMERIC)

Increments text string with alpha and numeric characters.

ASP_Volume3 #48782
Manipulate Fonts, learn to change height, width, slant, boldness, and color *Updated*

View any font with custom height, width, slant, boldness, and color. This uses some API, and is very well commented. Check it out.

Languages
Top Categories
Global Discovery