Results for "Category: String Manipulation"
This code Searches AltaVista.com and puts the results into a listview. The your can click any result and it is opened in the default browser.Please put your comments down, and if you find any bugs pls put then down too. :)
Changed the interface a bit, made the labels for the menus into textboxes so they can go *over* the rich text box, thus letting me make it bigger. Added the ability to password protect the program, (the password is encrypted then flipped backwards), and there is now a "QuickCrypt" function that lets you select a file, encrypt it, then save it, without using the open then save and so on options from the menus. Still trying to figure out compression! If you have any idea on how I could get a *nice* way of compression for ALL 255 characters, aside from using the zlib dll, tell me! If you have not seen the other version of this program, 2.2, this program encrypts all 255 characters in a decently strong way. Oh, also added the small part to see that time it took to encrypt the file, it slows down the process though!
This VERY short function compares 2 strings and returns a number (that can be converted into percentage if multiplied by 100) that represents how closely related 2 strings are. For instance "ABCDE" and "ABCDF" would return say.... .8 (80%). Great for suggesting fixes for spelling errors et cetera. Feel free to use, abuse, and manipulate the code however you want, I'm sure it's not original, but I know it can be helpful :).
This is a simple shopping cart made using recursive scripts. The entire system is stored in 1 asp file and 1 mdb for the data storage.
This program creates and view's NFO and DIZ files. This is the newest version of the program. New features include 80+ tools to make your NFO or DIZ file, it also has 10 customizable tools. bizzyNFO4 also lets you use multiple tools at once. 7 to be exact. There are also many many more features, many. Give this program a try. Also if you used it please rate it if you can. That will be greatly appreciated. Also please leave me some comments, to keep in mind when I create the next version.
This program search a string in multiple documents at the same time and lets you open the match documents from the program. I`ve had add some new features like select the extension of documentes, view only the 10 first matches and save the configuration to use in another sesion. I`ve fixed the program for this usefull version. Thank yours for this chance.
Functions on Strings. Those seem to be difficult but are actually very easy. Count Characters, Vowels, Lenth of String etc.
This is a simple text search engine I created in less than an hour. It is very fast and usefull. I'm sure it can be optimized so feel free to do so. It will find the specified text and highlight it. Also one can load a file's text into the text box and search it. It automatically finds the next item once the text is found before it. Check this out!
Shows how to dynamically create a HTML table from a recordset. All you need is the connection string and the table name.
ASP EDGE is a great online solution to setup websites with highly configurable Administrative options. ASP EDGE is an integrated engine of user management, News Publishing,Content Management, Message Boards, Internal Messaging, user rankings, Link Manager (category configurable),poll, rotating ad manager, logged users, active users etc. Now you too can build an Online Community, Intranet or Extranet! See how it works an the latest update on it www10.brinkster.com/aspedge
Simple and fast Linewrap written with a bit of Vb standards. This one does same job as Sam Kopetzky one plus one feature: it can split lines in same length and if no space is found to split them, it will divide the word with a "-" char (lines will result 1 char longer than max you said!) The Sam Kopetzky code is compatible with all Vb versions, while this one is only for Vb6 - as it uses functions like Split and Join - but it may be easier to understand. If you want to take a look to Sam job, go here: [url]http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=35460&lngWId=1[/url]
Purpose: The purpose of this widget is: 1. provide a single function to handle creating tables 2. provide a table that can sort both ascending and descending on any column 3. provide a table that can then link to an edit view 4. provide a table with alternating row colors for easier readability 5. Allow each of the above to be accomplished in 2 lines or less
This is a recursive function to calculate a string formula. For example: You have a formula like "3*((2+6)*2-2)/(2+2)". You just call the function to get the answer. Hope this is useful to somebody:)
This code will connect to a MySQL database server and allow users to upload and download images stored in a table within that server. The code uses the MySQL.net connector, which is freely available for download from the MySQL website. For the purpose of testing this code, I have allocated a database for use on my server, for the details of the connection information please see the README file. I am quite new to C#, and this is my first attempt at writing a class, let alone a partially compleate class for uploading/downloading images to a database. So if you like this code, I would be thankful for any comments and votes you feel this code deserves. Upon initial running of the application you will be presented with a dialog, asking you to add galleries, please add at least one gallery to this list, otherwise you will be unable to upload images to the database. After this first step, you need to select a database and a table from the comboboxes. If you do not select a table with a compatable gallery layout (as shown in the README files) you will be presented with a error. If you are connecting to my MySQL server the database required is 'testuser' and the table is 'gallery'. I still need to add a function to translate MySQL error codes to their plain english meaning, hopefully this will follow shortly. I would like to thank you for taking the time to view my code, and if you like it, please dont hesitate to vote for it.
Very simple, almost useless code! Shows all "printable" ASCII characters. I needed this for something else, so I thought I'd post it here for beginners' benefit
Extracts the contents of a "child" substring from a "parent" string between 2 additional specified substrings. For example, if you called it like this: GetStringBetween("Fourscore and seven years ago, our fathers", " and ", " our ") It will return "seven years ago,"
Compares a string to a list of items in another string, and returns how many matches are found
This is just an update to the nice piece of code submitted by VF-fCRO on 1/12/2002. I simply added some small features (elapsed time, a different way to loop, minor text edits, etc). Doesn't really change the purpose of the original, just adds a few touches to it. the original is at http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=30734&lngWId=1 I wouldn't really entitle VF-fCRO's submission a "mistake"; he/she actually submitted a demonstration of a better way to handle concatenating strings with a far faster technique, and it doesn't use and API calls or weird, esoteric methods.
Did you know that the capital letters are different from the small letters only by one bit? A = 01000001 while a = 01100000 the 3rd bit is the capitalization
Formats SQL strings with quotes and line breaks for use in VB. This was a project that was submitted by another user that I have modified. I have added in the ability to update which SQL clauses will cause a line break, using a txt file. Also I have updated the SQLVarPos so that it uses an array for position location of key words. This also has better tab order and an auto-tab so you are ready to copy your formatted string as soon as you select "Format String".