Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



The CONVERT statement converts one or more characters in a string to their corresponding replacement characters. It takes the general form:

CONVERT expression1 TO expression2 IN expression3


  • expression1 is the list of all characters to translate in expression3
  • expression2 is the list of characters that will be converted to.
  • expression3 is the string to which the conversion will apply.


That there is a one to one correspondence between the characters in expression1 and expression2. That is, conversion of character 1 in expression1 to character 1 in expression2, etc. 

An example of use is as follows:

CONVERT 'BJE' TO '^+!' IN Value
! Value now contains A^CD!FGHI+

See also: the CONVERT function.

Go back to JBASE BASIC.

Was this article helpful?