Advertisement

Results for "Category: String Manipulation"

2002C #12045
FindWords

Finds words starting with, containing, ending with, >

2002C #12082
Text To Picture Encryption

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

2002C #12114
Simple reader for kjv.ini

Simple reader for kjv.ini by Robert Rayment. This may be of interest to those who want a simple but effective way of displaying large text files using simple VB. You will need to download Clint LaFever's kjv.ini (KJV BIBLE on PSC, I have his permission) and put it in the same folder as this prog. Basically the whole of the file is loaded into a string (most computers nowadays, can cope with this size of file) and an offset table built up to the Book, Chapter and Verse. 3 list boxes then take Book description and Chapter & Verse numbers enabling any Book, Chapter and all its Verses to be displayed quickly in a multi-line, scrollable text box. UPGRADE for Jude which has only 1 chapter -- whoops.

2002C #12156
Random Letter Generator

Actually this is kind of fun. This program genaerates 1000000 completely random letters and then uses the microsoft Word Spell check object to look for real words. You can specify the minimum length of text to search for as well as maximum and it will highlight real words. i put an Algorythm that looks for words based on each character position, for example, if "WHOLE" is found it will return 3 words, "Whole", Hole", and OLE". You would be surprised to see some of the words that are generated. Oh well, good for a dyno test on your computer at least. Comments and votes are greatly appreciated.

2002C #12162
Quick String Parsing of a Comma Delimited String

This example will show you how parse a list a variables quickly with minimal coding.

2002C #12164
D@ L3373n@70r

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

2002C #12166
Line by Line Text Cycle

This code will cycle through a text box or rich text box line by line, select the line and place it into a string array. The array will then be passed to another method where it will be placed into a list box excluding the blank lines. I've seen other code like this but if there is no ending vbCrLf then the last line of the box is not read, I've fixed this and showed how to extract the line information and how to use it. The code is slowed down using a pause routine that I made about a year ago.

2002C #12217
Base64 Codec

The original source code was from someone (AndrComm or Sebastien?) else. I recode the whole thing, but having reference to the original. Anyway thanks, whoever who are who wrote the original code (yeahh.. all creadits to him) since i learnt some performance optimization (my original codes are tremendously slow).I did some code clean up and comments. The encode speed increased by 20%, decoded speed increased by 30%. Here's the best results that i come out with: file : command.com (93,040 bytes) load : 2.56 mb/sec (n/a in original code) save : 3.39 mb/sec (n/a in original code) encode : 7.17 mb/sec (20% faster, original code runs at 6.05 mb/sec) decode : 7.31 mb/sec (30% faster, original code runs at 5.61 mb/sec) Here's the changes I've made : 1. *REWROTE* code clean up (i think it should be more readable) 2. *REWROTE* encode and decode table is created together. 3. *REWROTE* sub DECODE rewrote (should be faster). 4. *REWROTE* sub SPAN and UNSPAN now supports SpanSeparator. 5. *ADDED* More detailed co1mments for novice, not experts 6. *ADDED* some form controls, for input and output. 7. *ADDED* file loading and saving feature 8. *FIXED* encode / decode rate calculation fixed... more accurate should be 1 sec = 1024 ticks (kernel 1044 ticks?) and 1 mb = 1048576 bytes. (1024b x 1024b) and some other minor corrections as well...

2002C #12254
A "String Replacement" Function

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!

2002C #12339
Random name creator (For creating nicknames and RPGs names)

The code generates a random name. I am giving basically two simple functions with which you can create a loop that will make many thousands of nicknames or names for roleplay games. Check it out.

2002C #12394
Scripting Engine X (SEX)

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.

2002C #12397
IRC TO RTF (Rich Text Format)

Converts IRC text to RTF and displays it in a RichText Box. Supports everything.

2002C #12403
Doing Strings in VB Part 1

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.

2002C #12518
InStrRev for VB5

This is a InStrRev function for VB5. I took a look at the one microsoft recomend, and almost died of laughter.

2002C #12539
Character counter

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.

2002C #12588
Convert RichText to Encrypted HTML!

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!

2002C #12640
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!

2002C #12664
Effective Encryption Algorithm

Encrypts and decrypts strings

2002C #12691
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

2002C #12711
OO7 - Golden Strings

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

Languages
Top Categories
Global Discovery