Results for "Category: String Manipulation"
Shows Random Number Coding, Case Select and a good for next loop with Listbox. Also a simple counter. Combines words into full sentences. Fun program too, sort of funny, but some generated conspiracies may be TRUE (ewwwww - spooky). Feedback appreciated.
Use these functions in KeyPress events to format user entries as entry is typed. UCaseKeyPress() converts key pressed to uppercase while LCaseKeyPress() converts key pressed to lowercase.
This Code will Scroll the title of your window(s) like Winamp To the left OR to the right.
It typewrites any text you choose at any given speed
Provides functionality to have a buffer of Undo's in your application so users can go back as far as they want and redo their actions again....
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
This SQL formatter Add In formats your SQL in various formats
This code returns a boolean expression that declares if a string is a valid email address or not. It returns true if the string is valid, false if not
This is an update of version 2.00 that I have done today. Because of some complaints of the speed I have added a speed option which includes "Fastest" (but this only works for options 8 to 12 as the others are so fast you cannot see them work!!) I have added a new FX called "Black Hole" where the text dissapears in to, or out of, the centre of the string. There are now 2 Bandits. The new 2nd one cycles through all the characters at the same time, compared to number 1 which did them one at a time. It should be noted that this is also an example of Framed Options; diabling and enabling them and discovering which have been selected by the user. Also in the Speed textbox you can only enter numbers (I got that off here, but hey!) Although I wrote this in VB5, I see no reason why it will not work in ANY of the other versions as it only uses basic commands like MID and MID$. (Although I am not sure when the MID command came in...) Please rate this!! and I would be interested in any comments you may have. Thanx!
This shows you how to search for a "string" inside of a "string" to see if it's there or not. This makes a good E-mail validator.. If the user doesn't put the "@" character, this will know it's not there and return false. This also works the same way if your trying to validate a Full Name. I commented everyline so enjoy and good luck.-Mike
Finds the most appropriate font size to display a piece of Text in a picture box. Allows user to determine the Alignment of the text (Left, Right, Centre or Full justification). Options to include a drop-shadow, and the direction of the shadow are also included. Includes test form with example.
This teaches users how to manipulate strings using. Left(),Right(),Mid(),Len(),Instr(),Lcase(),Ucase() and StrReverse().
I looked on this site to find something like this, but i didnt find exactly what i wanted. Here is the source that i created that takes random characters from a text box and places them in a label. It takes a user defined amount of characters including spaces and periods and everything else. =) UPDATED AGAIN!! Now has added features! Can count characters and vowels and words etc! If you know a better way to do this, please email me. This type of program can be used for fortunes, making up new words, choosing usernames(i actually know somebody that did this with a similar program), etc. PLEASE VOTE!!!
This program lets you input text or copy paste from another program. as you type or the text is pasted in, it counts the amount of words, spaces, vowels, consanents, etc. It can be used for programs like icq, text editors, and much more! Please give me feedback and vote!
Have you been using the instr function, or 3rd party functions to find the word count of a block of text. Now you find it in ONLY 2 LINES OF CODE - NO API CALLS - NO MODULES / CLASSES / CONTROLS - PURE VB CODE
Hi this is a project that will allow you to open a bas file or form and list all the function in a combo box. then you can select the function name form the combo box and it will display that function in a text box. at this time it only works in function names eg function centerform(frm as form) but you can change it to do other string like sub or private subs anyway have a look at the example.txt I have left in the folder and open that up and you will see. anyway I hope that someone might find some us of it please vote if you like it... bye... :)
This code Searches AltaVista.com and puts the results into a listview. The your can click any result and it is opened in the default browser.Please put your comments down, and if you find any bugs pls put then down too. :)
Extracts the contents of a "child" substring from a "parent" string between 2 additional specified substrings. For example, if you called it like this: GetStringBetween("Fourscore and seven years ago, our fathers", " and ", " our ") It will return "seven years ago,"
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)
Increments text string with alpha and numeric characters.