JCL Help:TranslateString

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Translates a string from one codepage to another.


Pascal

 function TranslateString(const S: AnsiString; CP1: Word; CP2: Word): AnsiString;


Parameters

Parameters Description
const S: AnsiString The string to translate.
CP1: Word Source code page.
CP2: Word Destination code page.


Return Value

The translated string.


Description

The TranslateString function translates the specified string from one codepage to another.


About

Unit

JclUnicode


Donator

Mike Lischke


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page