Advertisement

Results for "Category: String Manipulation"

2002VB #21244
RichText No API GoTo Line

This bas contains a function that sets the cursor position in a Rich Text box to a given line without using API. This is a very fast method - no, it doesn't just scan through and check every line - and works fine even with long RichTextBox texts!

2002VB #21268
Effective Encryption Algorithm

Encrypts and decrypts strings

2002VB #21295
Jumble Word Solver [Heavily Documented]

This takes a jumbled word and compares it to a list of words (apprx 110,000 words) that are commonly used in crossword puzzles and such. I got this paticualr idea from Robert Rayment's code on finding anagrams for a word. You can also replace the provided word list with a bigger one. please give all feedback positive and negative. Thanks, and vote

2002VB #21315
OO7 - Golden Strings

Lots of different function for handling VB strings. Take a look inside, you mightlike what you see...

2002VB #21347
AutoComplete Made EASY!

This small script simply and easly creates an AutoComplete affect for your ComboBox. VERY EFFECTIVE AND VERY EASY TO UNDERSTAND.

2002VB #21405
VB Colorizing class

This is a class that allows coloring VB text. Could be modified to do the same for other languages. It is in a sample project that demonstrates its use. It needs some further work to resolve parentheses situations. The ideas of many PSC authors are used here. Please post improvements you make to this code. Have fun!

2002VB #21413
Truncate Text with Ellipses

This code will truncate specified text with ellipses. It is very usefull for displaying long strings in textboxes and title bars. It will even truncate a pathname similar to windows.

2002VB #21443
Parsing Concepts and Algorithm techniques (PART 1)

Explores and teaches parsing algorithm techniques (PART 1)

2002VB #21726
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.

2002VB #21730
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

2002VB #21756
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.

2002VB #21769
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.

2002VB #21788
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)

2002VB #21884
Freedom

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

2002VB #21901
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

2002VB #21918
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!!!

2002VB #21924
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).

2002VB #21941
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.

2002VB #21943
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

2002VB #21946
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

Languages
Top Categories
Global Discovery