Previous Topic

Next Topic

DropChars - MaxBasic Function

DropChars(String1: String, String2: String): String

Removes all occurrences of each character in String2 from String 1.

DropChars function syntax has these named arguments:

Parameter

Description

String1

Required. The String to be edited.

String2

Required. The string containing the characters to be removed from String1.

Sample code:

  Print DropChars("abcedfghijklmnopqrstuvwxyz","face")

Returns: bdghijklmnopqrstuvwxyz

See Also

String Functions

Book Contents

Book Index