Results for "Category: String Manipulation"
Increments any serial number string up to the length of the original string passed to the function. Allows serial string to have delimiters. This could be useful to anyone that require automatic incrementing of a number, such as a job number, receipt number, etc
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 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.
Takes any numerical value (less a billion) like "203463110" and outputs "Two Hundred Three Million Four Hundred Sixty Three Thousand One Hundred Ten"
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:)
Compares a string to a list of items in another string, and returns how many matches are found
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
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.
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".
Checks to make sure the contents of a TextBox or String are only standard ASCII; If it has any extended ASCII, the function will return False.
This is an update to Kurt Joseph Serge's word counter code that was long, clunky and not entirely accurate. Takes a string and counts the "words" (characters separated by spaces) in it. Take a look.
Provides functionality to have a buffer of Undo's in your application so users can go back as far as they want and redo their actions again....
The SpeedString class boost performance on string concatenation. Almost every VB developer uses strValue = strValue & NewData as concatenation. The SpeedString class does the same, but a few hunderds times faster (something up to 1000 times). This project demonstrates the use of my SpeedString class and compares the execution times of both methods.
As a beginner my biggest problem ever was not being able to split a string and i didnt really learn how unil a while ago. splitting a string can be very useful for winsock and data storage type stuff. This works by putting a plus sign (+) between the two peices of data and splitting them based on that. Note: this uses a VB6 function so it will only work in VB6, also note that this code is in the begginer section so dont be a punk. - nerd (www.nerdwareinc.com)
This function takes tag delimited text and converts it for display in a richtext box. Great for email headers (from, to, subject lines). Someone Rank this Thing...Enjoy!!
This will get various statistics about your code, from how many blank lines you have, to how many variables you have declared. This is basically the same as my last version (Code Statistics v3), with a few improvements on the code scanner, and a new feature that lists the amount of variables you declared but never used. Just a note though, it will also list any unused event parameters. Let me know what you think - Eric
Get the statistics of your code. Find out exactly how many lines it is. It is easy to modify this project to include other file types etc.
cool word proccessor that can read what u have wrote ,font size font color bold....