StrSet()

Type: REGULAR FUNCTION

Purpose: Sets 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"

Usage: StrSet(String, Position, AsciiNumb)

 

String

STRING

String to determine length

  Position INDEX Position within String to replace
  AsciiNumb INDEX

Character to overwrite the character at Position.

Related Topics Link IconRelated Topics