Results for "Category: String Manipulation"
This article is for people who are interested in how PHP deals with uploaded files and databases. It walks through the steps of creating a database-driven picture repository, and includes the code to set you on the correct track. It starts out with how PHP deals with forms, then progresses to files, it deals with PHP's interaction with MySQL, and finally ends putting it all together to build a simple picture repository. The tutorial is 11 pages and is in PDF format.
Hello coders! This is a basic code for record saving, finding, deleting, etc. It uses ADO.NET (Command, DataReaders, DataSet, Connection, etc.) Hope it would help for you. I need your feedback and even suggestions...thanks :D
word searcher with about 110,000 words, crossword finder, unscramble letters to words and more.
the same as the mirc gettok function - very usefull
It can make, edit, delete news articles. It has a rich text editor (from htmlarea) and supports multiple users. In this new version there are some bug fixes and you can now make news templates so you don't have to type out the same thing all the time, the new version also includes a general connection string found in conn.asp.
This will allow you to compare times. I noticed that there is a 'Date' type in VB, but no 'Time' type. So if you want to compare Dates you are fine, but for Time comparisons you are a bit stuffed. This is very simple, and will allow you to convert times into numbers so that you can make easy comparisons with them.
It generates store procedure to do INSERT,MODIFY,DELETE and VIEW operation for any Table
Replace the first One, I posted wrongly. My Apologies for the Community. This program print, special characters in different font types like "Symbol", "GreekC", and "GreekS". Please Accept my apologies
A simple bus reservation system, using dynamic 3D arrays and a simple class example! Don't hesitate to rate for it. I worked so hard for it!
This is just a simple code to find the text in a tag. like, [tag] I'm a tag![/tag]
Tow functions provide to convert the number or currency into English Text.
This code pages a database recordsets in a very cool way, like the good seaches on the web. The ideia I designed was to show all pages, but not all of them (imagine in a case of 1000 pages). So, it shows only ten pages placed in the point you are only, and a link for the last and first ones... It helps who does not have the patience to see all pages, and also for the ones who does.
Ecommerce Application
It used to be, when I wanted to count the number of times a charector appeared in a string, I would loop through the string letter by letter and keep a count. I have replace my old methodolgies with this one, which also allows you to search for substrings (more than 1-digit long)
I created this project with VS 2005 so more programmers can use it. It will work in VS 2008 as I first did it with 2008. It uses Microsoft 2007 database driver and a user friendly interface (Explore type UI). This project is also well (if not overly) commented. With this project you will learn how to: • Hard code most procedures • Use a class object (as in Object Oriented Programming (OOP) and • Connect to a Microsoft database using ADO.Net. As for using it in a real world application it shows how to • Login into a system • Set global variables used throughout the system • If not successfully logged in, it will lock the user out of the system until the SA resets the user’s account • Allow the user to change his/her password • If the user account is system defined disable the ability to delete the account • As well as create and update an account. There is a lot of good stuff or examples for any level programmer. I have spent some time on coding, testing and commenting and would like the project to be rated. Happy programming. Login Information: User Code: ADMIN Password: admin User Code: GUEST Password: password User Code: LWESTJ Password: password
this application using VS2005 , MSACCESS, DAtaset to creating a dictionary, not just one kind dictionary but many kinds of dictionary u can make it(English - Indonesia) / (english - Germany) / (english -Italy) / etc just download and enjoy the application :D but sorry if there many bugs u have it in my application because i just the new one :p thanks to view my code.
Hi again all. This module will sort string array items of file paths which may contain numeric characters in a more natural order. I created this in response to a comment made on a previous submission. It is complete with demo and sample files so you can easily load and sort to see the results of the different settings available. ++++++++++++++++++++++++++++++++++++++++++++++++ It is intended for sorting file names, and will apply the same intuitive order for folders in the file path if they contain numeric characters. It will take into account all occurences of numbers in the string item including in the extension. ++++++++++++++++++++++++++++++++++++++++++++++++ Specifying a path is not required, neither do they need to have extensions, in fact, they do not need to be file names at all; just strings that may contain numeric characters within the string text. In other words, it can be used for normal pretty-sorting operations as well. But please note, this is intended for sorting file names and is a little slower than the included Pretty Number Sorter because of extra code to handle the extensions. ++++++++++++++++++++++++++++++++++++++++++++++++ It can order the items by extension, whilst still producing an intuitive order of the file path and names that may have numbers within them and that have the same extension. Or you can group by folder but still include extensions in the comparisons without grouping by them. ++++++++++++++++++++++++++++++++++++++++++++++++ Also included is a compare function that can be used in place of VB's StrComp that will order the filename items it compares based on the settings described above. It does not sort an array of items but compares just two items and returns the result. ++++++++++++++++++++++++++++++++++++++++++++++++ This is version 2 (2-5-08) in response to a request to add the handling of numbers in the extension. Bug Fix update 2-6-08. ++++++++++++++++++++++++++++++++++++++++++++++++ Version 2.1 (2-7-08) adds Indexed versions of my Pretty Sorters. Included in this module: strPrettyFileNames, strPrettyFileNamesIndexed, StrCompFileNames, strPrettyNumSort, strPrettyNumSortIndexed, StrCompNumbers, strPrettySort, strPrettySortIndexed, ValidateIdxArray, strStableSort2Indexed, strSwapSort4Indexed, InitedArray ++++++++++++++++++++++++++++++++++++++++++++++++ Update (2-8-08) removed the 260 character limit on the three file name routines. ++++++++++++++++++++++++++++++++++++++++++++++++ Update (2-15-08) with latest and final version of Stable QuickSort v2.2. ++++++++++++++++++++++++++++++++++++++++++++++++ Update (2-16-08) I just had to fix a design weakness. Removed the requirement to initialize the index array before passing to the indexed sorters. Final number 2! ++++++++++++++++++++++++++++++++++++++++++++++++
Grab hold of your snow boards folks - Rd's stable non-recursive quicksort algorithm the Avalanche just got even faster ... This is the latest and final version of my non-recursive quicksort based algorithm that has been written from the ground up as a stable alternative to the blindingly fast quicksort ... It is not quite as fast as the outright fastest non-stable quicksort, but is still very fast as it uses buffers and copymemory and is beaten by none of my other string sorting algorithms except my fastest non-stable quicksort ... A standard quicksort only moves items that need swapping, while this stable algorithm manipulates all items on every iteration to keep them all in relative positions to one another. This algorithm I have dubbed the Avalanche ... See included html page in 21k zip for details ... Also included is an Avalanche based pre-sorter and the latest version of my insert/binary hybrid Twister algorithm which utilizes the pre-sorter ... Obscure Bug Fix 7 March 09. I documented it 'can sort sub-sets of the array data' but with the indexed version if you do an error *could* occur without this very small change ... This is definitely the final version of this unique algorithm, I have very much enjoyed developing it. I hope you like it. Happy coding from Rd :)
This is a simple string pointer caching technique that speeds up the testing of algorithms that manipulate string array pointers such are string sorting routines ... I found the most time consuming part of sort testing was the resetting of the test array before every test ... This is a solution that removes the need to re-assign strings into a test array before every test is started ... This module contains two sub-routines named CacheArrayPtrs and ResetArrayPtrs ... You call CacheArrayPtrs whenever the array is loaded with new items ... You call ResetArrayPtrs before every test and instantly be ready to test the original cached array ... Update 16 Oct 09 to correct an error in the documentation only ... Usage code included in 3kb zip.
This function searches the passed string for occurences of the specified sub-string. It has the ability to make case-sensitive or case-insensitive searches. It can also perform whole-word-only matching ... This SubStrCount implementation offers extended functionality which allows it to be used in a similar way to other token style functions ... SubStrCount will return the number of matches or zero if none.