Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Convert statement ====== ==== Description ==== Converts one set of characters in a string to another set. ==== Syntax ==== **Convert** //charset1// To //charset2// In //string// ==== Parameters ==== The Convert statement has the following parameters. ^Parameter^Description^ |//charset1//|The set of characters to replace.| |//charset2//|The set of replacement characters.| \\ \\ \\ For each character in the string, if that character is found in //charset1//, it is replaced with the corresponding character from //charset2//.\\ \\ If the number of characters specified in //charset1// exceeds the number of characters specified in //charset2//, each character that has no corresponding replacement specified in //charset2// will be deleted from the variable string.| ==== See Also ==== [[swap|Swap]] ==== Example ==== <code> * step-up a delimited array convert @vm:@svm to @fm:@vm in Array *uppercase the LoginID variable Convert @LOWER_CASE to @UPPER_CASE In LoginID *remove spaces an punctuation from the sentence variable Convert " ,.;:" to "" in sentence ** ** </code> guides/programming/programmers_reference_manual/convert.txt Last modified: 2024/06/19 20:20by 127.0.0.1