StrSet()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Miscellaneous functions >

StrSet()

Description

Set a character in a STRING to a new ASCII character specified by an INDEX.

 

Position is zero-based. For example,

 

String = "ABC"

StrSet(String, 2, 69)

 

String is now ABE.

 

Type

REGULAR FUNCTION

 

Usage

StrSet(String, Position, AsciiNumb)

 

String

STRING

String for which to replace a character.

Position

INDEX

Position within String to replace.

AsciiNumb

INDEX

Character to overwrite the character at Position.

 

Related Topics