String Handling functions in ASPWe can use different functions of ASP ( using VBSCript ) to handle strings. Some common requirements like sending a string output to browser by using Response object or making a complex string search function there are functions to handle string. When we started our ASP scripts we stated with sending a simple string output to the browser.
There are different functions used in handling strings like finding out the length of the string to manipulating string and splitting string to create an array etc. We will discuss these string functions with examples so we can use them as reference for developing our applications.
Each tutorial here is focused on how to use one string function so you can read and understand there uses. The examples given here may not exactly match your requirements but these are developed keeping in mind give a basic understanding of the string functions and how they work. You can use the forum if you are facing any problem or a complex requirement you want to develop.
This article is written by plus2net.com team.
Be the first to post comment on this article :
|ASP functions to handle string|
Adding two or more strings in ASP
Getting the size or length of the string by using len() function
Removing blank space before and after a string using trim function
Changing lower to upper or upper to lower case of text present inside a string
Reversing a string variable by using StrReverse function
Compare two strings in different ways by using StrComp function
Collecting parts from Left , right and middle areas of a string
Checking matching of a string inside another string using InStr function
Searching and replacing strings inside another string using Replace function
Creating arrays by splitting string using split() function
Joining elements of an array to create a string variable
Line Break by replacing text line break to html line break using Replace function