Results for "Category: String Manipulation"
It's a scripting engine made in visual basic. It's only in Alpha Stages right now, but is still pretty cool for only being about half done after a week of working on in. There is an example script right when you load it up which you can try and study the code, and try to write your own. Only a few built in functions right now, and minimal support for loops/if statements. There is a loop, and if/elseif/else statement, but they are very cheap right now...although they CAN be nested. Also you can write your own aliases, and call them, as seen in the example.
Update of my scripting engine Now supports if/elseif/else, while loops, loop loops, arrays of variables, formula evaluation (i got the code from here, but cant remember from who, but ill find and give them credit, i promise, sorry to that person). All of the above can be nested, along with the functions. You can EASILY add very little code to make it open a console window and do input and output. I didn't add that because it's purely an engine so far.
Strings play an important role in every software. This tutorial is big, it has everything that a beginner wants. This version is modified to remove some mistakes in the previous one, and adds some information about instr. I'd be glad to see your feedback. Thanks! Note: Since I am no guru, this could be all wrong, use it at your own risk.
Moving from ADO to ADO.Net? Planning to access a Non SQL Server database? This article talks about databases on your hard disk, and discusses almost all of the important ADO.Net classes.
Nothing so advance. What it does is change the font color everytime the user type a word.Don't know what to do with it, maybe good fo IM, chat app. .....feedback please.....
Generates and Validates a 25Character Registration code. Extensive integrity checking on the validation process to ensure only the original key values can be validated. Well commented and easy to follow.
This is a InStrRev function for VB5. I took a look at the one microsoft recomend, and almost died of laughter.
A FAST and EASY way to count the number of occurrences of one string within another! Please vote for this tip if you find it useful.
This is an incredible program that lets you generate encrypted self-decrypting HTML files! It converts RichText to encrypted self-decrypting HTML files! Just type in your message in RichText format, choose a Password, and it automatically encrypts your message and generate that self-decrypting HTML file. Cool! How do you get the files decrypted? Simply with any IE browser, open it, type your Password, and you'll have the message automatically decrypted!
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!
Encrypts and decrypts strings
This code is in Beta stage and used like a QueryAnalyzer, it got a update feature but it wont work for the moment. The code will only work with MS SQL server and is only tested with IE 5.5. You have to set write permissions on the servers catalog. Please email me the bugs and other request asap.
I may be reinventing the wheel here, but so far I have yet to find a built in Delphi function that will convert a string to proper case. I found this code somewhere on the web a while back, lost it, and managed to recreate it last night.
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
Lots of different function for handling VB strings. Take a look inside, you mightlike what you see...
This prgram Encrypts text to a picture. As you may notice its hard to see that picture box has anything but black.But it does if you zoom in.also each pixel in the picturebox holds 3 letters saving you alot of room your private letters on your computer are no longer able to be seen because everyone knows that ifmmp is hello so now you have a picture instead.Very Complex. Easy to understand.Highly commented.Easily made more complex.Check It Out.And PLEASE leave Comments and Vote. Please Vote for this source code. NOW UPDATED http://www.planetsourcecode.com/xq/ASP/txtCodeId.28531/lngWId.1/qx/vb/scripts/ShowCode.htm
This small script simply and easly creates an AutoComplete affect for your ComboBox. VERY EFFECTIVE AND VERY EASY TO UNDERSTAND.
I know there is the replace(text1.text,"Jack","Jill") in VB6 which would find all the words Jack and replace them with Jill in text1, but how can I do this in VB5? I want to be able to put symbols in general sentences, and replace the symbols with specific data. such as: Thats a great pass from #! He passes to # who sets up a shot!
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!
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.