Advertisement

Results for "Category: String Manipulation"

ASP_Volume3 #45747
Uppercase The First Letter Of Every Word Inside A String With Only 1 Line Of Code

This will uppercase the first letter of a every word in a string. For Example "this is a string" -> "This Is A String". You need only 1 line of code.

ASP_Volume3 #45838
Easy String Manipulation

I really don't like Database's so I came up with a new way to do it without all the hastle. I am not saying it is great, but its a quick fix. More file saving tasks must be implemented but so far so good.

ASP_Volume3 #45863
Concatenate strings FAST with this class!

This code demonstrates how to use buffer concatenation via the Mid Statement for fast string concatenations. Buffer concatenation is much faster than the widely used "&" to connect strings and also faster than array concatenation. Use the supplied class module in your own apps to improve speed and efficiency.

ASP_Volume3 #45864
Find Strings in a Textbox

A sample VB program that demonstrates how to find and select words in a Textbox. Very simple but quite useful! Please rate!

ASP_Volume3 #45940
count down to zero with a given number

this is very simple and is for begginners... it askes you to input a number... it will then loop messege box's until the number is counted down to zero.... then it replies with another messege box that says... "thats all"...... (updated code#2)

ASP_Volume3 #45968
A Simple Encryption and Decryption function

I wrote this code to learn a little bit about string manipulation. Although I will deffinatly not claim it's uncrackable, it is deffinatly a little less bulky than some of the others. Not to mention since i submited the code anyone could just use the decryption on it. But anyway, it may be of some help, although I will admit it's a bit slow with large files. I am trying to find ways to improve it's speed. Any ideas are welcome.

ASP_Volume3 #46025
Convert long address to IP address

Converts a long address (2220112843) to it's IP address (203.59.84.132)

ASP_Volume3 #46040
generic_database_tools

Procedures to perform common database functions

ASP_Volume3 #46094
Has... String Functions

This is a series of Has.. Codes. It will search a textbox for the following: Lowercase letter, Uppercase letters, Numeric Characters, and Accented Characters. So, if it has lowercase letters or something, it will display a message box. this is a good example of how to use for..next loops, ASCII codes and the Instr Function, then again, this might be a lousy example, you be the judge.

ASP_Volume3 #46223
A Good 'IntelliSense' Function. (Auto-Complete) For TextBoxes

Like IE4 and IE5, this module when setup with your TextBoxes, will make repetitive data entries easier for your users. For example, if "hello" had been typed into the TextBox earlier, at a later date, all the user has to do is type "h" and the rest of the word will appear. Just in the style of IE4. This stores all the keywords in a file named after the TextBox specified. It automatically adds new words to this list when the user presses Enter on the keyboard. Even though I've uploaded it as a ZIP, it's not because it's hard, but to make it easier to understand how it's working.....

ASP_Volume3 #46224
A 'Parse' function.

To split a string into pieces using a certain character as a delimiter. I do not want to get messages saying, "use the Split() function" as this isn't present in VB5. Example of this is "hello to you", with the delimiter as " ". You'll get back 3 variables, one containing "hello", one containing "to" and one containing "you"

ASP_Volume3 #46225
A 'strReplace' function.

When called with a string, will search through the string and replace a character of your choice with another character of your choice. For example, if you sent the string: "Hello to the world" And sent "o" as the character to be replaced, and sent "a" as the replacement It will return you with: "Hella ta the warld".

ASP_Volume3 #46228
_Code Snippet for VB's Split() Function

This is a one line code snippet to extract any section of a string using the Split() function. You can actually return the indexed section right in the same line as the Split() without having to assign the Split() to an array.

ASP_Volume3 #46279
Advanced INI Functions

This code is the first posted on Planet-Source-Code to do more than just ADD and GET INFO from INI files. You can now also DELETE Keys, Values, EVEN SECTIONS. I am working to create functions to rename sections and keys also. Enjoy this code! Fully explained!

ASP_Volume3 #46309
Generate Random Numbers, letters and symbols

Generates a random string of numbers, letters and symbols, then places it in a string. Once this has been done 3399 times (or times set by user) it writes the string to a file under the variable filelocation

ASP_Volume3 #46332
A Split Procedure

Splits a string into an array. If you send a " " it will split all the words into each array position.

ASP_Volume3 #46365
Brute Force Password Generation

**This is an update of my previous submission.** What's New? Various speed-ups. (40k-80k to 150k-250k passwords/sec). Got rid of string concatenation replaced with Mid$ function. Made password producing function an "inline" function, no more repeated calls. Fixed bug that wouldn't let you close the form even if you hadn't started generating yet. No more version numbers, just date of release.

ASP_Volume3 #46366
Faster Password Generation

This is a "password generator" that can (on my puny PII 333mHz computer) generate about 40000-80000 passwords per second (number varies based on password length). This project was inspired by this Planet-Source-Code post: "Fast BruteForce Class Example" by §e7eN. http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=48276&lngWId=1 and by various websites, code snippets, and newsgroup posts. I have no interest/knowledge in using this to break into anything or do any harm. I'm do love the logic behind such challenges. Though, I'm sure I'm at the pre-k level when it comes to serious string manipulation.

ASP_Volume3 #46367
RainbowText v1.00

This is just a trivial little app that creates actual rainbowed colored text (unlike that ubiquitous random colored letter code). See the README.txt for more info on the color conversion functions.

ASP_Volume3 #46414
Easily Replace a character in a string

Replaces a character in a string with another character. Pretty simple to understand. Uses a For...Next loop.

Languages
Top Categories
Global Discovery