Advertisement

Results for "Category: String Manipulation"

6_2008-2009 #205113
number to Words ex. 234 ---> Two Hundred and Thirty Four Handles $,% negatives and decimals

This Class will convert a variety of numbers passed as string to their long winded english couterpart. It handles currency, Decimals and percents. The range is -999,999,999,999,999 to 999,999,999,999,999. returns an error description if it occurs.

6_2008-2009 #205157
SQL server memory walker

Extended stored procedure that shows RAM allocation of a SQL Server. Look at the code for an explanation of the output.

6_2008-2009 #205283
Letter Replacer (Update 2)

According to research at an english university, it doesn't matter in what order the letters in a word are, the only important thing is that the first and last letter is at the right place. The rest can be a total mess and you can still read it without problem. This is because we do not read every letter by it self but the word as a whole. This 'never seen before' code can make such words for you, it saves the first and last letter and makes a 'total mess' of the middle ones! Update includes: Now the program is faster and the code is easier to read, this because it is more compact now. Thanks to Roger Gilchrist for sending me this optimalizations! (NOTE: there is a project like this submitted a while after I submitted mine. That code is not a rip, it works totaly diffrent then this one does)

6_2008-2009 #205345
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.

6_2008-2009 #205427
Lightning Fast Word Counting

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

6_2008-2009 #205428
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.

6_2008-2009 #205429
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".

6_2008-2009 #205430
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).

6_2008-2009 #205500
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

6_2008-2009 #205543
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.

6_2008-2009 #205612
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.

6_2008-2009 #205657
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!

6_2008-2009 #205669
UNICODE From ANSI Pointer

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

6_2008-2009 #205680
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.

6_2008-2009 #205740
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.

6_2008-2009 #205756
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.

6_2008-2009 #205762
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.

6_2008-2009 #205790
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.

6_2008-2009 #205803
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.

6_2008-2009 #205806
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.

Languages
Top Categories
Global Discovery