Home Sunday, 22 July 2018
  • Create an account
Replacing bad words in a string - Script Review
    Name
Replacing bad words in a string
    Author
Michael Wall
    HomePage Address
Visit script homepage
    Category
ASP / String & Variables
    No. of hits
957

 

     Bad words in the text fields of a comment form or other ASP forms can be detected and can be removed / replaced with the new words is explained with two little snippets from which you can obtain the required array string functions and their parameters with their functioning format. Tells how to replace a bad word with it's first letter and with '*' characters for the rest letters.

 

Top ASP scripts
1).   Manipulation of String This String manipulation tutorial describes the basic and advanced functions in ASP strings. More useful for the ASP learners to understand the functions quickly but also easily.
2).   Comparing two sets of data You can find an easier method to compare two sets of arrays in ASP by studying this online ASP article which comes with example code snippet to provide the required functions.
3).   Multi-dimensional arrays This web based ASP article describes and provides functions on Multi-dimensional array creation which lets you develop your knowledge in arrays.
4).   Using the EVAL method This little ASP article comes with the sample program from which you can understand the benefits of Eval function in strings to evaluate mathametical expressions.
5).   Proper Capitalization One of the ASP tutorial that describes the uses of string functions to change the first letter case into capital with the help of a little snippet.
6).   Replacing bad words in a string One of the string manipulation tutorial that educates you how the bad words in the ASP form page can be removed or replaced by implememting the string array functions.
7).   Accessing and Changing Arrays It is a basic thing in ASP that every element is stored in an array with index and this ASP study material explains how array items can be accessed using index feature in arrays.