Results for "Category: String Manipulation"
Absolute Easiest Way To Find And Replace Text in Any Control - ie: labels, textboxes, basically ANY control that supports text editing!!
A REALLY simple way to do AI chatting. Uses the instr function to see if a word exists in a question. Show how to use instr, arrays, sesquentenial file reading/writing. I haven't programmed in much question's (open chat.dat in notepad) follows structue keyword1,keyword2,keyword3,answer (comma seperates, must do comma even if you use only 1 or 2 keywords)
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.
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
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.
Very fast function to encode or decode Quoted-Printable. VB6 only, but you can make it work with other versions, with a 3rd party replace function.
It provides a faster method to adding text to a text box. This works best if you are working with a large amount of data.
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.....
k so i was bored so sue me! neway i made this as a joke for when im on the irc or something i dunno its not perfect, but dont expect ne updates if you want anything diff. do it yourself i think it would be really fun to add this to an irc client , so that as you type it changes it. easily done just change the stuff in the button to text1_change and it should work
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.
[NOTE: THERE IS A NEWER VERSION] This routine shows how you can process nested search-replace operations on large strings (megabytes) with VB. The program accepts a text-file as input and will output a colorized RTF file. Nothing new about that, but this program will generate large RTF files really fast because it uses a text buffer for string processing. You will see the difference if you try to colorize a 500+ kb XML file, most (all?) other 'colorize' programs on PSC that use native VB will fail on large files.
Tutorial to teach about LTrim, RTrim, Trim, Left, Right, Mid, StrReverse, creating your own stringreverse function, Replace, InStr, and simple text encryption. 2500 Word approx and examples included
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 is a encrypt/decrypt program thats only 10 lines long!!! all it uses is 2 simple fonts to encrypt, times new romand for the text and Money for the encrypted text! please tell me if you like it:)
This code will take your text and encrypt it so that it is completely non-readable. I am sure that is someone studied the output long enouch they might be able to break the code, but it would be tough. You can see how easy it actually is to encrypt/decrypt text. It cover all basic letters and most special characters. If you can see it on your keyboard then that character has been covered. Later versions of this code will be much more complex in the way it encrypts the text. and I may include a feature that will require a key to unlock the text. Have fun. Peace
Well I found parts of this code on the net but all in all, I wrote most of it. I hope that you like this. I added functions to copy and paste in this version. So please be sure to let me know how you like this code.
This code is a direct replacement for the VB6 Replace function. Obviously, VB 6 users will have very little (if any) use for the function. It is intended for use with older versions of VB that do not have the in-built Replace function. I noticed a similar piece of code released earlier this week, but it only appeared to handle character replacing and not strings. This version will do both and it's pretty tight and fast.
This project demonstrates how to remove the repeated characters in a string. A progress bar is included so you can know the progress of the operation. Great for beginners. VOTE IT IF YOU LIKE IT! THANKS!
This code is a cleanup of earlier code submitted for getting the middle text of a string. I've added proper error handling and naming conventions.
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