Advertisement

Results for "Category: String Manipulation"

ASP_Volume3 #55012
Split a string in many of similar size

Splits a string in two or more parts so they can fit in a given space, but only take into account complete words.

ASP_Volume3 #55094
Lightning Fast Word Counting

A small ultra-fast function used to count the number of words in a string.

ASP_Volume3 #55095
Fastest String Concatenation Yet In Visual Basic

This is the fastest string concatenation method you'll ever come across in Visual Basic. I use a novel buffering technique that leaves the competition choking on my dust.

ASP_Volume3 #55096
World's Fastest Binary Search

This ain't your daddy's binary search tool! Mine goes about 30% faster than his. Why people insist on using the same tired and slow function I'll never know, but it suffers from two glaring weaknesses. First and foremost: are about the slowest way to compare strings! Second: The tired old function assumes that you will find a match more often than not which is slow! My function doesn't suffer from either of these two "features".

ASP_Volume3 #55097
Learn How To Make VB Handle Strings As Fast As C

If you want your strings routines to be as fast as possible, learn C. If you don't want to learn C use string mapping, its nearly as fast and pure VB. In this article I give you the silver bullet for strings. If strings are bottlenecking your code, I'm your new best friend. I've included a project that attempts to visualize the string for you. It also contains a word count comparision which uses four methods string mapping being the fastest by far (compiled).

ASP_Volume3 #55167
Spread sheet file based data management system with Built in Screen Saver

This Project is basically a simple-to-use full-featured object-oriented spread sheet file data management system that will allow the user to open, save, browse, edit, make graphs, and apply functions to any kind of alphanumeric data. This product will run under the DOS operating system. Also, if you wait for 20 seconds, an automaitically BUILT IN SCREEN SAVER will be activated, that can be stopped by pressing the ENTER. REMEMBER THAT SCREEN SAVER WILL BE ACTIVATED AFTER 20 SECONDS. THEREFORE, YOU MUST ATLEAST MOVE YOUR MOUSE OR PERFORM THE KEY OPPERATIONS, IN ORDER TO AVOID THE ACTIVATION OF BUILT IN SCREEN SAVER. The spread sheet file based data management system, as it’s named suggested, is to be used by a user to handle any kind of data in a form of spread sheet. The user can view or edit a spread sheet with a complete facility of saving and retrieving files. The user interacts with the product’s functions (like filing, tools, etc.) by using the MOUSE, and clicking on the pull-down menus of File, tools, graph, and Help. Under each one of these pull-down selections, a user can select functions such as openning, closing, saving, new file, add row, add column, multiply row or column, displaying bar or pie charts, and displaying help. Now, to interact with the spread sheet made, the user can enter data on each cell (like 1st row and 1st column, 2nd row and 5th column, etc.) by selecting the required cell and entering the data that can be alphabetic, numeric or alphanumeric. PLEASE SAVE THIS FILE IN THE FOLLOWING PATH OF TURBO C AND MAKE SURE THAT BGI FOLDER IS ALSO INCLUDED IN THE "TC" DIRECTORY: C:\\TC\\BIN\\zar.cpp

ASP_Volume3 #55210
ADO programming in C++

This article is intended to cover the basics of working with a database through ADO without diving into MFC, .NET, or any other deep Microsoft framework.

ASP_Volume3 #55279
PadString Any Side

Pads a string with any character you like. I usually use it to pad numbers with leading zeros. But you can use it for other things.

ASP_Volume3 #55324
Shell Sort * FIRST ARRAY ERROR Fixed

Shell sort is a greath sorting method,but I find "FIRST ARRAY BUG" after resorting array list,and fix it! See The Different beetween SHELL and BUBBLE!

ASP_Volume3 #55336
UNICODE From ANSI Pointer

The Most difficult Thing in VB..How to Get UNICODE From Pointer Of Ansi String..

ASP_Volume3 #55347
Get the ID of just inserted database record using INSERT clause.

This article demonstrates how to get the ID of just inserted database record using INSERT clause.

ASP_Volume3 #55407
Hide & Disable Columns in DataGrid

This few lines of Code demonstrate how to Hide & Disable(lock) columns in Datagrid. Taking example from Northwind database it allows user to modify only ContactName,Phone and Fax columns. Add this code in Form load event and modify the Connection string if required. also add Imports System.Data.SqlClient in your code. hope it helps you.

ASP_Volume3 #55423
API Drawn Console App with variable handling (updated June,5 2003)

This app works like DOS. However, it currently only supports variable modifying commands (such as 'set', 'reset'). It works in much the same way as id's engines manipulate and use their variables. I wrote it to include it in a game engine I'm fiddling with or more to the point, to a script parser I'm writing for the game engine. It's sort of a work in progress at the moment with lots of room for expansion (like maybe a binary search for the variable look-ups, or put some commands in it). If you like it vote for it! Enjoy. UPDATE 1: I added command and constant processing ability. I wrote the procedures for each as straight forward and as easily modifyable as I could. Enjoy.

ASP_Volume3 #55429
An Email address and IP address validator class. Uses regular expressions.

Will validate the format of an email or IP address. Allows email addresses which use ip addresses. Will return all valid addresses in a string.

ASP_Volume3 #55457
Advance TCP/IP Text Box

A textbox for TCP/IP or DNS entry with validation and formatting. It behaves like Windows TCP/IP entry. Very nice in developing program that requires valid IP entry.

ASP_Volume3 #55470
NeoBasic,java like byte-code scripting language

Neobasic is a byte-code based scripting language.It is faster than known text interpreting systems.Main features are: 1)Faster interpreter using byte-code system. 2)Local,global variable and array support. 3)Optimization feature for math expressions. 4)Semi-Object orientence 5)Multiple Commands in one line To send a command like this msgbox("Your name is " + inputbox("What is your name?")) 6)System Ident variables To show time for example : msgbox(time) 7)Include directive for including ActiveX DLLs to script to use functions.

ASP_Volume3 #55473
Binary to Text converter

This code is a simple Binary String to Text String vice versa program. It shows how to convert a asc() number to a binary string and reverse.

ASP_Volume3 #55520
A String Tokenizer Similar To strtok() in C++

The following procedure acts similar to strtok in C++. Call it once with your string (S), and then everytime you call it from there on out, you can break your string apart with tokens! Included is a function StrMid() and an overload for StrMid that simulate the Mid() function in Visual Basic.

ASP_Volume3 #55552
DataGrid Class

After playing with ASP .NET's Data Grid, I figured I'd create something similar for use with ASP. I've begun by creating the properties and methods to reproduce the most commonly used and useful features of .NET's data grid. Easy to run examples included. Updated 10/28! 2nd version which allows column headers to be rendered as sort by links. Updated 12/27! Now can customize error message and display. Updated 2/21! Class optimized.

ASP_Volume3 #55567
Database and CGI in C++

This code shows you how to access MS Access MDB database files and use SELECT stements to retreive records from tables. I've seen alot of poor examples here and i couldnt get most of them to work or working to do what i needed. Also, this gives you an easy way to make a cgi type program that you can use on your web server.

Languages
Top Categories
Global Discovery