Advertisement

Results for "Category: String Manipulation"

ASP_Volume3 #50690
Parsing Concepts and Algorithm techniques (PART 1)

Explores and teaches parsing algorithm techniques (PART 1)

ASP_Volume3 #50702
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.

ASP_Volume3 #50945
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.

ASP_Volume3 #50946
MySQL Web Interface

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

ASP_Volume3 #51001
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.

ASP_Volume3 #51020
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...

ASP_Volume3 #51077
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 : )

ASP_Volume3 #51118
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.

ASP_Volume3 #51165
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.

ASP_Volume3 #51167
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.

ASP_Volume3 #51171
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

ASP_Volume3 #51218
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.

ASP_Volume3 #51236
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.

ASP_Volume3 #51287
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)

ASP_Volume3 #51299
Brute Force Sim

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

ASP_Volume3 #51321
DataGrid & Access

Comparing connection string: Aceess Vs. SQL server --------------Access ---------------- OleDbConnection mycnn = new OleDbConnection("Provider = Microsoft.Jet.OleDb.4.0;Data Source = C:\\ManasEcomm\\Wine1\\pro2.mdb"); --------------SQL SERVER----------- SqlConnection mycnn = new SqlConnection("server=manas4;Integrated Security =SSPI; Initial Catalog=pubs"); SqlDataAdapter mycmd = new SqlDataAdapter("SELECT * FROM employee", mycnn);

ASP_Volume3 #51350
Database Viewer

Shows the database's schema and the table's data

ASP_Volume3 #51360
A Daitch-Mokotoff SoundEx Function

Complete, ready to use, SoundEx function to encode a passed alphabetic name and return a six character Daitch-Mokotoff code following the Daitch-Mokotoff (D-M) rules available at the sites listed in the source code. The D-M algorithm resolves some deficiencies that occur in the older Miracode/Soundex system (also known as the "Russell"/NARA system - used by the US Census Bureau). The benefits include: 1) Six meaningful letter sounds (versus four so that Peters is different from Peterson). 2) The initial letter is also sound encoded. 3) More sound variations (10 basic codes versus seven and double code sounds). 4) Improves sound matching for Jewish, Slavic, and Germanic names. Coded as a VB module with Public SoundEx function. Uses simple visual basic coding, and should be usable in anything supporting VB/VBA. Code Zipped because it is a complete module. Code commented

ASP_Volume3 #51380
Freedom

Just quit smoking? This simple tool keeps you informed of your progress.

ASP_Volume3 #51381
ASHRAE Unit Conversion Factors

Conversion factors derived from 2001 ASHRAE Fundamentals Handbook (SI) page 37.2

Languages
Top Categories
Global Discovery