Character String Instructions


 

The Character String Instructions manipulate the character string's contents or attributes.

 

AND

Bitwise AND two characters together.

APPEND

Append a string to another string.

BUMP

Add one to the Form Pointer.

CHOP

Move a variable to another while removing trailing spaces.

CLEAR

Set Form Pointer & Length Pointer to zero. Moves zero to numeric field.

CMATCH

Match a character with another character.

CMOVE

Move a character.

COMPRESS

Compress a string.

CONVERTUTF

Perform a UTF conversion.

COUNT

Count number of characters in a list of variables.

DECODE64

Decode an ASCII string.

DECOMPRESS

Decompress a string.

DECRYPT

Decrypt a string.

DFREE

Free memory of a dynamically create a DIM variable.

DMAKE

Dynamically create a DIM variable.

DRELEASE

Release a dynamically create a DIM variable.

EDIT

Apply a special display format to a character variable.

ENCODE64

ASCII encode a string.

ENCRYPT

Encrypt a string.

ENDSET

Set the Form Pointer equal to Length Pointer.

EXPLODE

Disassemble a delimited string into variables or objects.

EXTEND

Append one or more blanks to a string.

FILL

Fill character variables with a value.

FINDCHAR

Search a string for a character from a list.

HASH

Encode a string.

IMPLODE

Append data from variables or objects into a single delimited variable.

LCMOVE

Move the Length Pointer character to a variable.

LENSET

Set the Length Pointer equal to Form Pointer.

LOAD

Move one of several variables to another variable.

LOWERCASE

Convert a string to lower case.

MATCH

Match a variable with another variable.

MOVEFPTR

Move the Form Pointer value to a numeric variable.

MOVELPTR

Move the Length Pointer value to a numeric variable.

MOVELS

Move a variable to another variable respecting the Logical String.

MOVEPLEN

Move the Physical Length value to a numeric variable.

NOT

Bitwise NOT a character and move to another variable.

OCCURS

Count string occurrences in another string.

OR

Bitwise OR a character with another character.

PACK

Append several variables to another variable.

PACKKEY

Append several variables to another variable respecting Physical Length.

PARSE

Select next several characters based on a mask.

PARSEFNAME

Retrieve a filename from within a string.

REMOVE

Move a variable to another variable and adjust the Form Pointer of first variable.

REPLACE

Change characters to other characters in a character string.

RESET

Set the Form Pointer of a string variable.

SCAN

Search a variable for a character string.

SDELETE

Delete several characters from a character string.

SEARCH

Search a set of variables for starting with a character string.

SET

Assigns a variable or list of variables to a value of one.

SETLPTR

Set the Length Pointer of a string variable.

SFORMAT

Change the Physical Length value of a string variable.

SINSERT

Inserts a string variable into another string variable.

SMAKE

Create a string variable.

SPLICE

Replace logical contents of one variable with another.

SQUEEZE

Move a variable to another while removing characters.

STORE

Move a variable to one of several variables.

TEST

Bitwise test one character with another character.

TYPE

Determine if a string variable has a valid numeric format.

UNPACK

Split a variable to several (usually smaller) variables.

UPPERCASE

Convert a string to upper case.

WHEREIS

Locate a string in another string.

XOR

Bitwise exclusive or one character with another character.

 

 



PL/B Language Reference AND