包含数组的字符串的名称?

Name for string that holds array?

我想知道保存在字符串(保存数组的字符串)中的数组的正确名称是什么。

常用于在数据库中存储标签或多个变量

示例 1(商品的图片网址): url1,url2,url3

示例 2(视频标签):tag1,tag2,tag3

示例 3(任务完成):2,3,1,6,7,4

这些字符串通常会在 PHP 中被转换成一个数组。

澄清一下:这些类型的字符串的正确名称是什么?

这些值存储为 comma separated valuesCSV。作为在单个条目中存储多个数据点的一种方式,这是一种相对常见的做法。

来自wikipedia

A comma-separated values (CSV) file is a delimited text file that uses a comma to separate values. A CSV file stores tabular data (numbers and text) in plain text. Each line of the file is a data record. Each record consists of one or more fields, separated by commas. The use of the comma as a field separator is the source of the name for this file format.

希望这对您有所帮助,