Servertec String( )
M E N U

Content
Introduction
Release Notes
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Referance Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Cookie
Date
Error
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
Response
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Server Side
Preprocessor
Executable
Make
Samples
Legal
Feedback

 


Returns a new string set to specied value.

Syntax

    String( bytearray )
    String( bytearray ,  encoding )
    String( bytearray ,  offset , length )
    String( bytearray ,  offset , length ,  encoding )
    String( stringbuffer )

Parameters

    bytearray      the byte array object to use as an initial value.
    encoding       the name of the encoding scheme.
    offset             the starting offset [ 0 , length - 1 ] into the byte array object.
    encoding       the name of the encoding scheme.
    length            the number of bytes to copy.
    stringarray    the string buffer object to use as an initial value.

Returns

    string    the new string.

Example

    s = String( sb )
top of page
Built with iScript Copyright © 1997-1998 Servertec. All rights reserved.
Last Modified: Wed Apr 15 00:16:38 EDT 1998