I have never seen this class before. It is implemented based on tstringbuilder. It can be used to easily write various data types into strings.
Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls,
There is also a superxmlparser unit in the superobject file package, which can parse isuperobject from XML.
Superxmlparser has only three functions: xmlparsestring, xmlparsestream, and xmlparsefile, which are parsed from strings, streams, and
Address format for calling Google translation:
Http://ajax.googleapis.com/ajax/services/language/translate? V = 1.0 & Q = "+ original text +" & langpair = "+ original language +" % 7C "+ target language
The returned data format is as
Operation live video in the first example: interface_test.rar
CodeFile:
Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1:
A common method for constructing a JSON object using superobject: from a string, from a file, or from a stream.
Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1
Tstringreader has fewer methods than tstringwriter. It can be read by character, line, or all;
The character encoding is obtained when the characters are read, and the string is obtained by reading all or by row. The character array is also
Both tstreamwriter and tstringwriter inherit from the abstract class: ttextwriter;
Both tstreamreader and tstringreader inherit from the abstract class: ttextreader.
They have similar functions, but tstreamwriter and tstreamreader have the "stream"
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service