Strip HTML Tags From a String





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

10
Date Submitted Thu. Dec. 21st, 2006 3:48 AM
Revision 1
Scripter shachi
Tags addCharAt | JavaScript | manipulation | String
Comments 0 comments
Adds any character at the given index of a string.

NOTE: Count starts from 0
10
Date Submitted Tue. Feb. 28th, 2006 5:52 AM
Revision 1
Scripter TimYates
Tags HTML | JavaScript
Comments 0 comments
A prototype function to get an array of elements by id in an array
10
Date Submitted Tue. Dec. 5th, 2006 2:15 PM
Revision 1
Scripter Casper42
Tags ASPX | CSharp | CSS | JavaScript
Comments 3 comments
This snippet allows an aspx page (c#) to accept URL parameters to allow styles or script to be dynamically appended to the rendered page.

I wrote this simple snippet to allow one of our vendors to accept a style override so that their application would morph into something more closely resembling our own portal application. Please see screenshots for clarification.

Original Vendor Application

Vendor Application with Style Override via URL
10
Date Submitted Sat. Mar. 25th, 2006 9:32 PM
Revision 1
Beginner baldo
Tags Calendar | CSS | definition | HTML | List | xhml
Comments 3 comments
this is a css to style a definition list to get a calendar list type.

See the final render.
10
Date Submitted Wed. Sep. 27th, 2006 7:35 PM
Revision 1
Beginner finch
Tags CSharp | Down | Key | Trapping
Comments 1 comments
This code was something I used to monitor the keys that where press while a user would be entering text into a text box in my application. I monitored and watch for the user to hit the "Enter" key and then perform some task. Handy code for chat applications.
10
Date Submitted Thu. Mar. 16th, 2006 10:01 PM
Revision 2
Coder mattrmiller
Tags Bytes | Format | Java | String
Comments 0 comments
Format Bytes
11
Date Submitted Wed. Jul. 5th, 2006 8:15 AM
Revision 2
Helper poncho
Tags Array | Name | PHP | String | Value
Comments 3 comments
Convert an irregular name=value pair string into a formatted array.
11
Date Submitted Sat. Jul. 15th, 2006 8:15 PM
Revision 1
Helper eriveraa
Tags .Net | CSharp
Comments 0 comments
Second example of reading an excel file. Reading with a SELECT syntax.
11
Date Submitted Fri. Feb. 17th, 2006 4:49 PM
Revision 1
Beginner RRSands
Tags CSharp | Encryption | Security
Comments 0 comments
From RSA Security's website:
"RC4 is a stream cipher designed by Rivest for RSA Data Security (now RSA Security). It is a variable key-size stream cipher with byte-oriented operations. The algorithm is based on the use of a random permutation. Analysis shows that the period of the cipher is overwhelmingly likely to be greater than 10^100. Eight to sixteen machine operations are required per output byte, and the cipher can be expected to run very quickly in software. Independent analysts have scrutinized the algorithm and it is considered secure."

This implementation encodes the byte stream to be encrypted "in-place".

Example:
Byte[] Key = new Byte[5] { 12, 34, 22, 12, 32 };
Byte[] B = new Byte[10] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
// Examine B array before and after this next call.
RC4(ref B, Key);
// Examine B array before and after this next call.
RC4(ref B, Key);
11
Date Submitted Fri. Feb. 17th, 2006 1:14 PM
Revision 1
Coder mattrmiller
Tags "Magic Quotes" | PHP | Slashes | Strip
Comments 1 comments
This only seems appropriate, we were fighting with a similar issue this morning.