Advertisement

Results for "Category: String Manipulation"

ASP_Volume3 #44877
Find and Highlight Substring

' Given an editable textbox named Text1, this code prompts to find a word and ' searches throught the textbox and highlights the first occurance of the ' found word (if exists).

ASP_Volume3 #44890
Strip HTML tags

This following function takes an HTML page and strips it of all tags.

ASP_Volume3 #44896
getstr

If an alphanumeric string is provided in the form 123,33,44,556 , my function seperates the numbers seperated by any character in this case a (,)comma so we get num1=123 , num2 = 33 , num3=44 and so on.The function uses an array to store these numbers.DO mail me on how well this code works.

ASP_Volume3 #44905
Autocompleter for textboxes-Like IntelliSense

'This function can be implemented anywhere to finish off a word in a textbox using a list of words with a custom delimeter. It is fairly complex and difficult to document, so bare with me. It also uses the amazing extract argument function written by another code of the day submitter. I have spent lots of time fine tuning this code and making it as flexible and foolproof as the one used in Internet Explorer 4.0.

ASP_Volume3 #44907
Count number of lines/returns in a textbox

Simply counts the number of lines in a textbox (the textbox should be multiline=true, otherwise it is pretty useless). Put this in a module so it can be reused.

ASP_Volume3 #44910
A smaller encryption example

Takes a string and shifts each character in that string according to a password set by the user. Much smaller than most of the examples of PSC.

ASP_Volume3 #44913
Display SQL Results

Display a page that allows you to type in a SQL Query statement, and display the results in HTML Table format. The number of field parameters and field names are immaterial. It will display the results in an easy to read format. Great for customer reports. The Code will not allow an Update or Delete query.

ASP_Volume3 #44946
ADO Database Sample

Teaches you how to allow your users to build a dynamic sql statment for searching your database, paging (nice little auto paging function I wrote included), dynamic sorting, etc... Access 2000 sample database included.

ASP_Volume3 #44947
ADO Example 2

Demonstrate how to use ADO and ASP, includes Paging, Editing, Searching, Stored Procedures with MS Access and more.

ASP_Volume3 #44977
Combinations of a String

This is in response to a question on posted on the Programming Q & A section. It takes a string and fills a listbox with all combinations of the letters in the string (could be adapted to use a dynamic array, too, the listbox was better for demonstration purposes). This program use recursion to get it's results and may be a good example for someone learning the concept to step through. Warning: The number of combinations goes up exponentially! more than 8 characters will work but really bog down your PC!

ASP_Volume3 #44998
Virus Scanner

This is kind of a Virus Scanner...It's to let you get the feel of a scanner which searches for strings a virus might have and then displays that it is a virus in a message box. Put this in a module and call it from like a button or something. I am only 13 so if you think this code is dumb or wouldn't work...sorry im still learning. E-Mail me at BmFWaLk316@Juno.com if you have any problems. Later.

ASP_Volume3 #45000
CurUserName

Get the current username from Windows

ASP_Volume3 #45001
CurComputerName

Get the current computername from Windows

ASP_Volume3 #45018
A very simple Encrypt and Unencrypt

This is a very simple encrypt/unenceypt and when i say simple i mean simple. works for any string containg the normal chr's ie. (1-9,a-z). Works good tho for simple encrypt.

ASP_Volume3 #45057
clsExtenso (numbers to words - Portuguese only)

Convert numbers to words (Portuguese only!)

ASP_Volume3 #45078
Create a text box that ONLY excepts numbers!

Create a text box that only allows Numbers in it, no letters great for Numeric Applications!

ASP_Volume3 #45091
Do uppercase to first letters in every word.

Fixes a string.. from "chArlES IS BaCk!" and the results is "Charles Is Back!" easy to use.. and nothing to have.. ;-) made it for a request.. the StrConv() only function in vb6 i think.. i'm not sure.. However this works too if you want it..

ASP_Volume3 #45095
(Updated Again) Check for duplicates in an array!

I've been looking around for this code and no one could provide it. So finally I wrote it. It checks for duplicates in an array and returns true if there are any.

ASP_Volume3 #45115
base64 decoder

Decode base64 encoded Input file into Output file.

ASP_Volume3 #45128
Animation Caption.

Quick and Easy! without API. Only a few lines of code. You can scroll your Application's titles and form's caption. I hope you enjoy. G.B.R.Nilantha Athurupana. Wattarama,Imbulgasdeniya,Sri Lanka.(94-03744479, E-Mail: crysbro@cga.lk)

Languages
Top Categories
Global Discovery