Advertisement

Results for "Category: String Manipulation"

2_2002-2004 #113540
Allow UPPER-CASE only in a Text Box

Easy trick to allow only text and converts it to upper-case. (Backspace is optional)

2_2002-2004 #113606
UK Postcode / Postal Code Format Validation Class *UPDATED*

If you are using a text box to input a UK postcode, the text box can be attached to this class, which will then ensure the text entered is UCase & conforms to a valid UK Postal Code format. I have add a new function to the class which enables Multimap Lookup. (Thanks to Jon Webb for that code.) Cheers also to Simon Woollard for pointing out the changes that were needed.

2_2002-2004 #113607
VB Project Explorer .. Must See It !!!!!!!!!!!!!

Hi All .. That's A Very Cool Program .. It Explores VB Files ( VBP , BAS , CLS , CTL , FRM ) and Get All Functions , Variables , Constans .etc In The File And View It With The Same Colors and Font Of VB Editor .. You Will Read It Exactly as You Read It In VB Project .. ( See Screen Shot ) .. This Program Is Useful If You Want To Read Function , Subs .etc In a File To Find Something In Huge Files .. Please Comment and Vote ..

2_2002-2004 #113643
Advanced Like

Compare using wildcards like * and ?, ranges like "at[0-99].gif", and a new wildcard %. Which is like *, but goes only at the end. "at%" would be like "at", and also "atquaz".

2_2002-2004 #113669
Code Stringifier

It's a common problem everyone has faced. You have a couple paragraphs of text that you want to store in a constant. But how do you manage quotation marks, line breaks, and backslashes in a quoted string? This solution will let you paste text into a textbox, and it will spit out the source code in order to store that text properly in a variable. Outputs to Javascript, VBScript, VB6, VB.Net, C#, and HTML. Very handy!

2_2002-2004 #113691
Song/Poem Assistant

This program searches through a list of words and tries to find words that sound similar to the one you are looking for, such as Light and Bright. Quite simple. Keywords: Wordlist, list character rhyme common controls

2_2002-2004 #113753
Lines Manipulations (No Api or ActiveX)

With this you can Read Lines (from a textbox and a string), Set Line Number, Get Line Number, Columns, etc. from a TextBox. This is very usefull, seems n00b but it isn't. Please Vote!!

2_2002-2004 #113800
Longest Common Substring

This code shows how to find a longest common substring in two strings. I had a hard time finding out how exactly to do this so now that I have done it I'm sharing it to help others that need it.

2_2002-2004 #113808
NeoWord

Word Processor, similar to Microsoft Word (not as many features though). Different fonts, colors, sizes, tabs, rulers, images, files, find, replace, goto, word count and more. Not finished yet, if people think I should bother finishing it off I'll add undo, redo, autosave, image options and possibly more... Please leave comments. Thanks, Neophyte.

2_2002-2004 #113865
Coloring VB Code Fast

Although the main purpous for this submission is to color VB code for viewing in a richtextbox. What you will learn can help with fast string manipulation. And you also get alot of information on the RichText standard. Read the cod comments for a full understanding. Just so you know! I'm sick of getting several hundred downloads and no comments I could give a s@@t about code of the month as i dont think im a good enough coder; however, I do want comments. Comments about how to code better or about the inventiveness of my submission or even how crappy it is. You can keep the spelling and grammer comments to yourself. This isn't PSC the online english school is it? So if your worried you may not get code of the month don't vote. But please comment! god or bad. This is by far the fastest way to color vb code without an outside dll or control Its done in pure vb and can color 300kb in less than a second. This time was attained on a 3 ghz processor with a gig of ram. It does key words, Quoated strings And comments. The user has the option to alse include web addresses, which would be underlined. The only problem I can find with the current code is it want color itself without error. I want go into an explination here; but, if you must color this programs code or just want more details on what is wrong jusy drop me a note. You can reach me through PSC. The code seems to handle all exceptions within the code. Odd quoats and if a comment char is inside a quoat it will be ignored, things such as these are handled. At present the compare method is binary and will only catch proper case words The same case structure used in vb, EndIf, ElseIf, exc... Changing to a text compare would allow you to ignore case but would also slow down the function a bit. If your source is derived from the VB IDE all should work well; however, if you are makeing your own editor you will want to use the text compare method at least during the editing process. NOTE: THIS CODE HAS ONLY BEEN TESTED ON WINDOWS XP WITH VISUAL BASIC 6 HAVEING THE LATEST UPDATE!

2_2002-2004 #113885
Whisper Bot source code for paltalk

Sends your whisper messages to people on paltalk

2_2002-2004 #113905
UPDATED: - Optimizing VB String Parsing – Using Byte Arrays and Binary Searches

Optimizing VB String Parsing – Using Byte Arrays and Binary Searches to parse and color code

2_2002-2004 #113911
cls_TextAnalysis(updated)

a class that performs basic text analysis using the Split command. Count characters, words, punctuation and layout characters. Thanks to merlin who found a bug in the basic countChar routine (answered 1 if there was no text in serch string) and 'Word counter *Excellent' who inspired me to attempt it. ----------------------------Thanks to Min Thant Sin for finding two bugs. Fixed the bug for blank text. Corrected the word count to give correct count. Also extended the class by adding the ability to set acceptable punctuation to allow hyphanated or underscore connected words to be counted as one. Included a bas module that contains the same concepts but designed to be used without the full class being impelmented, just take the bits you want, this bas module uses Paramaters rather than Properties to operate. (NOTE the bas file is not used by the demo).

2_2002-2004 #113961
[ Advanced Data Delimiting (Byte Delimiting)

Use this method with Winsock. Ever had it when you need to send lots of data all at once, and you need individual structured fields for each commands? Does your field data contain special characters or binary data? Conventional methods of delimiting packets simply won’t allow you to get away with that. This code demonstrates how to use Byte Level Delimiting (as I have dubbed it, anyway), and also shows how to buffer incoming and outgoing data, so you can handle large data flawlessly. There is a word document inside the ZIP archive that explains the principle and mechanics of the idea, and also code to demonstrate it. Also uses protocol compression, if the compressed size is smaller than the decompressed size (ZLIB). Feedback greatly appreciated, thank you.

2_2002-2004 #114005
Text Formatting API

Formatting text with various alignment and margins. The standard TextWidth is not accurate, specially if you want text justified exactly. With API functions is very simple!

2_2002-2004 #114160
Cool Text 3D Animations

Want so cool animations in your project well this code is for you, not just text but a 3D text that will animate in your project, very cool...Must have for beginners.....intermediate users also can learned frm this codes...I hope you enjoy coding and please vote or just rate it !...Thanks !

2_2002-2004 #114285
aAa Ascii To Unicode Convertor For Perisan Language Range

This Code Is a Best simple Sample for Tech Converting Strings and Allow users to learn about Persian Unicode Rage,And Allow Users To use Persian(farsi) With Out Arabic Language.

2_2002-2004 #114313
NeoBasic,java like byte-code scripting language

Neobasic is a byte-code based scripting language.It is faster than known text interpreting systems.Main features are: 1)Faster interpreter using byte-code system. 2)Local,global variable and array support. 3)Optimization feature for math expressions. 4)Semi-Object orientence 5)Multiple Commands in one line To send a command like this msgbox("Your name is " + inputbox("What is your name?")) 6)System Ident variables To show time for example : msgbox(time) 7)Include directive for including ActiveX DLLs to script to use functions.

2_2002-2004 #114336
Find text in tags

This is just a simple code to find the text in a tag. like, [tag] I'm a tag![/tag]

2_2002-2004 #114338
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.

Languages
Top Categories
Global Discovery