Advertisement

Results for "Category: String Manipulation"

4_2005-2006 #155932
VB Colorizing class

This is a class that allows coloring VB text. Could be modified to do the same for other languages. It is in a sample project that demonstrates its use. It needs some further work to resolve parentheses situations. The ideas of many PSC authors are used here. Please post improvements you make to this code. Have fun!

4_2005-2006 #155942
Truncate Text with Ellipses

This code will truncate specified text with ellipses. It is very usefull for displaying long strings in textboxes and title bars. It will even truncate a pathname similar to windows.

4_2005-2006 #155954
StringsNThings

Demonstration project of standard Visual Basic string functions with some custom string functions also included.

4_2005-2006 #155972
Access MDB

To open MS Access or Ms SQL server database using C/C++ or VC++

4_2005-2006 #155974
Address book

Simple address book Class in C++, has methods for adding new record, sorting, deleting and storing data in a file. Has it own menu aswell.

4_2005-2006 #155987
Parsing Concepts and Algorithm techniques (PART 1)

Explores and teaches parsing algorithm techniques (PART 1)

4_2005-2006 #155999
Dictionary-Based english Text Compression

*Now about 50% faster compress performance, fixed some glitches and improved compression ratio. *UPDATED: Now supports both upper and lower case words (any sentence should come out fine regardless of case, etc.) + Some performance and compression optimizations. SEE COMMENTS AT TOP OF COMPRESSION MODULE FOR FULL DETAILS. This code basically takes a string composed of everyday conversational english, and compresses it to a much smaller string using a set of dictionaries (included), and can also decompress any previously compressed strings.. This code was designed to be applied in a chat environment to save server bandwidth as the server has to echo many messages to hundreds of users many times per minute, this can make a big difference in bandwidth usage and in the case of a mmo game server, can help to ensure smoother gameplay as the game grows. Compared to zlib this is much more efficient at english-language compression, but entirely not suitable for other types of strings that do not contain english words. This code is intended to be used on the client side, and only includes the procedures necessary to compress and decompress a string, specifically everyday English conversational sentences.

4_2005-2006 #156242
DB Items Search

A quick and dirty search script for pulling catalog items from a MySQL database. Supports the use of 'And' or 'Or' or 'Not' between keywords. by Kevin Clevenger.

4_2005-2006 #156243
MySQL Web Interface

Web based database(MySQL) management tool http://brutus.snu.ac.kr/~smkim/mysql by SooMin Kim

4_2005-2006 #156298
Billing (Sales) for a general store

This program takes customers orders by code then creates a bill for the purchases. Also can print the bill. All totals are calculated automatically.

4_2005-2006 #156317
More on displaying images from an access database

Judge not lest ye be... Anyway, no how could I have written this. It's the complete code for an earlier submission from MUKUNTHAN (REally, Dino Espositio at ASPtoday I am told) that allows for display of images from an access database. Feel free to email me for more if it doesn't come through. Thanks to Fabrizio Ricciarelli, Eric Gionet, Jos Hardy, Tim Krause and special thanks to my Moms...

4_2005-2006 #156374
Donutboy

This code shows the use of a dynamic array for the storage of data. Recordsets are memory hogs, and shouldn't be passed across the server, so why even use one? What I was doing with this code was displaying a list of users on my website. After getting the data, I would have it build a table for the information and create hyperlinks for the appropriate fields. I've seen others do this, but they use recordsets to build them, which defeats its purpose. All the code is done with one trip to the server, so you won't see all those carrot tags being opened and closed throughout my work : )

4_2005-2006 #156415
WebMidi

Allows midi songs to be played on your web-site. Songs are stored in an Access 2k database. Code will play a random song or allows user to choose a midi song from a drop-down list. Code calls same page to play midi with ms media player. Could use mp3's but mp3's drag down server. I use this as a sidebar on my default web page. Let me know if you find any issues.

4_2005-2006 #156462
RecordSet Class

I really miss DAO/ADO. I like ADO.NET's disconnected DataSet but not it's syntax. So I wrote this class to let me use DAO/ADO-like commands with ADO.NET operating in the background. It is really great for Looping thru in code. This is Version 3, with some bug fixes.

4_2005-2006 #156464
String Workshop

This program was devised to help novices and learners encompass a better understanding of basic string manipulation. It uses such functions as Left, Mid, Right, Replace, etc. Also allows you to save and open text files with API.

4_2005-2006 #156468
Diff [GPL'd]

Ported to VB from a Java port of the GNU Diff implementation. The basic algorithm is described in "An O(ND) Difference Algorithm and its Variations", Eugene Myers, Algorithmica Vol. 1 No. 2, 1986, p 251. It's released under the GPLv2

4_2005-2006 #156515
Convert language query string into SQL statement

"PARSE" function converts search string (like in altavista/with pluses, minuses and quotations) into SQL query string for database search. To make this work in your database, you need to replace "table" and "field" words with appropriate values for your database. It's done in VB6 but will work in other versions as well.

4_2005-2006 #156533
Count characters in textstring

Here is an example of how one can count the number of appearances of a specified character in a given textstring. Included is a little project file with a form. The code is quite understandable. Actually it is beginners code. I just submitted this as a sequel to another submission here on PSC. Not that I find the other submission bad, but to show another way of doing things.

4_2005-2006 #156584
Format Fancy Number (##st, ##nd, ##rd, ##th)

This function adds st, nd, rd, or th to the end of a string of numbers based on what the number is. For example, the following code can produce the following output, "Thursday, November 23rd, 2000" : Format(Date, "dddd, mmmm ") & FormatFancyNumber(Day(Date)) & ", " & Year(Date)

4_2005-2006 #156596
Brute Force Sim

A password cracker simulator using a permutation of a byte array algorithm. Hold on to your hat this class is fast!

Languages
Top Categories
Global Discovery