Advertisement

Results for "Category: String Manipulation"

Java_Volume1 #98030
Two Complete Parsing Functions. Easy to use.

Allows you to parse strings like those excel spread sheats. Example : Text1.Text = "Me,You,Us" MsgBox(Parse(Text1.Text, ",", 1)) Would return "Me"

Java_Volume1 #98117
BBMultiFind

Compares a string to a list of items in another string, and returns how many matches are found

Java_Volume1 #98175
Expanding/Contracting Dynamic Text

This sample demonstrates a text effect whereby text drawn on the form expands and contracts (i.e., the width and height are continually increased then decreased). For more my code samples visit my personal web site: click above on my full name.

Java_Volume1 #98204
UCase to LCase & LCase to UCase Converter

THIS VERY COOL FUNCTION TAKES A NORMAL STRING AND CONVERT EVERY CHARACTER IN IT FROM UCase TO LCase OR FROM LCase TO UCase... CHECK IT OUT!! AND VOTE IF YOU FIND IT USEFUL

Java_Volume1 #98220
A Left To Right Marquee Form Caption

This Moves a Forms caption from left to right.

Java_Volume1 #98269
Password_Darker

The passwords typed in a textbox can be read even if the * appears. But there is a way to prevent this. This is why i created this code. It prevent users from using programs like Spy to read the password (http://come.to/kobik) if the URL don't change.

Java_Volume1 #98350
FormatRTF Richtext Formatting Function

This function takes tag delimited text and converts it for display in a richtext box. Great for email headers (from, to, subject lines). Someone Rank this Thing...Enjoy!!

Java_Volume1 #98363
Text Manipulation

This code show you how to count the letters, numbers, characters ("A","b",etc.), Spaces, Word's, Lenght, etc. in a text.

Java_Volume1 #98367
TurboSort

Sort arrays much faster with a better string swapping routine! Wow, I couldn't believe all the rewrites of the same sorting routines in PSC. "Look at mine", "No, use mine", yadda, yadda, yadda. They all use the horribly slow: vTemp = String1 String1 = String2 String1 = vTemp Geezzzz - When you have to sort 30,000+ strings this is slllooooowwwwwww. Here's a solution. It uses the the same sorting routine (or choose your own), but implements a much faster swap routine using the CopyMemory() API. Now, instead of swapping strings, which in my case could be up to 9,000 characters, you are only swapping a 4 byte memory address. Rock On!!

Java_Volume1 #98368
Word Wrap Printing

This is a subroutine to automatically wrap a text string in whole words to a printer.

Java_Volume1 #98385
NitroSort

Sort Arrays at lightning speeds! I guess you could say this is the sequal to the TurboSort routine I recently uploaded. One of the comments pointed out that the CopyMemory API was about as fast as VB could swap strings, but the sort algorythm (BubbleSort) was poor and that the QuickSort algorythm was much faster.After some searching on the mothership, I found out how the QuickSearch algorythm worked and viola, here it is. This truely is fast. Here are the tests results. My system is a P233 with 128MB of RAM. I generated an array of 10,000 rows. Each row contained 100 random characters ranging from A-Z. I performed three tests. Here are the times in milliseconds. BubbleSort QuickSort Test 1 131,195.3 398.438 Test 2 131,351.6 421.875 Test 3 130,882.8 390.625 Whew!

Java_Volume1 #98447
_String Auto Backspace_

With this extremely easy code, you can erase a character at the end of a string or in a textbox with a click of a button. Very easy code and every line is commented. DON'T forget to vote.

Java_Volume1 #98506
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.

Java_Volume1 #98513
DM Strings FX

Hi this is a little String Manipulation project I made To help beginners understand strings and people at other levels I have included all examples of each function to make it easyer. Sorry I have not included many comments if any but I was bussy at the times working on another project anyway I hope you get some Ideas from it. please vote if you like this code and level comments.

Java_Volume1 #98537
Return Readable Characters

This small function will strip out the unreadable characters and return readable characters in a string. This works great for stripping thoes little boxes out of the text that you just snagged from a web page. I know that a lot of you have used my code, but have not voted. It would be nice to see some feedback in the form of a vote. Thanks.

Java_Volume1 #98538
Long String to Lines

This little App will breakup a long string of text into lines of text. The length of line is set on the form. The output is sent to the clipboard. Copy a string of text and paste it into the text box on the form. Click on RUN. The application will count the number characters in your text and tell you how many lines of text were generated from that text. The line never breaks on a word.

Java_Volume1 #98606
MyVar

when you use string variable in VB to handle large string values the process take long time and as the variable go larger it take more time MyVar offers faster handling for string data

Java_Volume1 #98741
Convert Currency or Number to Text

Tow functions provide to convert the number or currency into English Text.

Java_Volume1 #98831
Scripting Engine

This Code Takes a script file and interprets the strings, making it do stuff, like a real vb application

Java_Volume1 #98839
_ String Functions _

Includes many common useful string functions. Reverse string, Remove extra spaces, Delimit string, Alternating caps, Proper case, and Count number of occurances of a string in a string. Vote if you like it!

Languages
Top Categories
Global Discovery