Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
All Functions
Space Function
FUNCTION: String( )
String
(Number, Character)
The
String
function creates a string with a single character repeated the specified number of times.
Both arguments are mandatory.
Number
The
Number
argument must an integer and defines the number of times to repeat the character.
Character
The
Character
argument is a single character.
It must be inside a pair of double quotes.
Code:
<% =String(33, "!") %>
Output:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information