Advertisement

Results for "Category: String Manipulation"

2002ASP #4518
String Workshop

This program was devised to help novices and learners encompass a better understanding of basic string manipulation. It uses such functions as Left, Mid, Right, Replace, etc. Also allows you to save and open text files with API.

2002ASP #4522
Diff [GPL'd]

Ported to VB from a Java port of the GNU Diff implementation. The basic algorithm is described in "An O(ND) Difference Algorithm and its Variations", Eugene Myers, Algorithmica Vol. 1 No. 2, 1986, p 251. It's released under the GPLv2

2002ASP #4548
Convert language query string into SQL statement

"PARSE" function converts search string (like in altavista/with pluses, minuses and quotations) into SQL query string for database search. To make this work in your database, you need to replace "table" and "field" words with appropriate values for your database. It's done in VB6 but will work in other versions as well.

2002ASP #4561
Count characters in textstring

Here is an example of how one can count the number of appearances of a specified character in a given textstring. Included is a little project file with a form. The code is quite understandable. Actually it is beginners code. I just submitted this as a sequel to another submission here on PSC. Not that I find the other submission bad, but to show another way of doing things.

2002ASP #4580
Format Fancy Number (##st, ##nd, ##rd, ##th)

This function adds st, nd, rd, or th to the end of a string of numbers based on what the number is. For example, the following code can produce the following output, "Thursday, November 23rd, 2000" : Format(Date, "dddd, mmmm ") & FormatFancyNumber(Day(Date)) & ", " & Year(Date)

2002ASP #4676
Freedom

Just quit smoking? This simple tool keeps you informed of your progress.

2002ASP #4693
BaseX - Ultimate VB Scripting Language

(UPDATED: I HAVE NOW INCLUDED ALL THE ORGINAL VISUAL BASIC SOURCES CODES TO THE ZIP MAKING IT 650KB, THIS INCLUDES ALL THE MODULES(EVEN MY ADVANCED VARIBLE MODULES(HALF COMPLETE) AND OTHER ADVANCED MODULES, PLEASE TAKE A LOOK AND VOTE!) BaseX SourceCode aka YAVBSL(Yet Another VB Scripting Language), ok, everything in here is the BaseX Scripting Language Source, The actull language thats in it currently was only ment for aobuilder which i was making for a friend,mainly it supports near flawless IF's and virtually perfect While/loop, there is an evaluator class which is never used but i include it anyway,everything in here is 100% coded by me(1 month hard work and headachs) except the evaluators and the general idea behind the parser.(This probably is the most complete vb scripting language yet) this supports vb objects,meaning, any normal vb object(ie: image,picturebox(not richtextbox,etc)) you can create in here, the main reason im releasing the source code is because im makin something much much faster and stronger in Delphi, since C++ has a hard time doing it, and too much asm to care about. Anyway, please vote and leave comments if you want, i can probably add more if you wanted me to.(BTW: this also include the delphi source code to the simple text editor)...this entire project took 7 hours(about 1 month to make the object support and stuff)examples are included

2002ASP #4710
Scalable XML Parsing Demo, featuring Microsoft's new MSXML SAX2 technology!

This demo allows you to compare and benchmark 3 methods of XML Parsing available to VB. 1. String Manipulation The first method is basic VB string manipulation, using functions such as Instr() and Mid(). 2. MSXML Document Object Model The second method uses the DOM methods provided with MSXML. 3. MSXML 3.0 SAX2 The final method uses the new SAX2 technology provided with MSXML 3.0. The benchmarking results will prove that SAX2 scales linearly while the DOM and VB string methods scale exponentially. SAX2 proves to be a highly scalable solution for parsing large XML recordset. This demo will be useful for those who are interesting in learning about XML parsing in VB, and especially useful for those who want to take advantage of Microsoft's new MSXML SAX2 technology. All the VB wrapper classes you will need are included with this demo. Before you run this demo, you will need to install Microsoft's MSXML 3.0 library. For instructions, see the Instructions.txt file included with the project. Don't forget to vote!!!

2002ASP #4716
String Control

This code can do many modifications to a string. (See screenshot for more details). I was tired of seeing programs that showed only one string modification so I programmed something that could modify a string in more than one way. (Code is explained).

2002ASP #4733
Token Parser

Allows a programmer to manipulate a string of tokens such as: "Jane;Paul;Harry" or "Name:Paul;Age:21;Gender:M". Note that this routine allows for individual tokens or for tokens that have a key attached. Tokens can then be retrieved by position or key.

2002ASP #4735
The lamerizer ( or lameriser ) ( or Thë £âmë®ízë® )

Youve all seen that stup1d squiggly text people use in chatrooms etc... You CaN NoW eaSiLY WRiTe LiKe a ReaL LaMeR (ÎÑ ÇÃ$Ê ÝÖú ÑÊÊÐ †Ö fâkÊ TÖ ßÊ §úçH...). No delamerizer as of yet :( pulls the text from a textbox and uses the [ replace ] command... no commenting... but it seems reasonably easy to understand.. :)... jB

2002ASP #4738
A Fully (i hope) string manipulation example / tutorial... InStr / Replace / Split / Join / strComp

Utilises a lot of the string manipulation commands to do just about anything with a line of text. Some of the more advanced functions i learnt as i went along, so they arent gonna be particually perfect! I hope this should be more or less bug free tho... I designed this to be for beginners / intermediatte needing a hand geting going in this field. Im sure other people are gonna have string manipulation tutorials already on PSC, but what the hell! have another one... :) Beginners: if you have any problems getting the code to work, email me at the address at end. tHE_cLeanER

2002ASP #4795
Increment Serial Number

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

2002ASP #4797
Put altaVista search results in a listview

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. :)

2002ASP #4884
Encryption Wizard 2.3

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!

2002ASP #4909
KIKE Doc v1.2

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.

2002ASP #4963
Functions on Strings. Those seem to be difficult but are actually very easy.

Functions on Strings. Those seem to be difficult but are actually very easy. Count Characters, Vowels, Lenth of String etc.

2002ASP #5067
convert/write a number in words

Takes any numerical value (less a billion) like "203463110" and outputs "Two Hundred Three Million Four Hundred Sixty Three Thousand One Hundred Ten"

2002ASP #5109
String Calculator

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:)

2002ASP #5121
BBMultiFind

Compares a string to a list of items in another string, and returns how many matches are found

Languages
Top Categories
Global Discovery