如何阻止 google 电子表格自动拆分数据?

How to stop google spreadsheet from splitting data automatically?

我正在尝试将以下数据拆分为每个问题的回复。 {"question_2":{"1":"5","2":"0","3":"7","4":"8","5":"9","other_comment":""},"question_3":{"1":"0","2":"11","3":"0","4":"0","5" :"0","other_comment":""},"question_4":{"sub_question":{"15":"2","16":"3","17":" 2"}},"question_5":{"option":"3"},"question_6":{"option":"3"}}

当我使用 Data-->Split text to columns 时,Spreadsheet 会自动使用 "comma" 作为分隔符来拆分数据。

但我想使用自定义分隔符 ,"q 但在数据已经拆分后我无法应用此自定义分隔符。

当您 select Data|Split text into columns 时,您应该看到 drop-down 说 Separator:Detect automatically.如果您使用 up/down 箭头将 Detect Automatically 更改为 Custom,您可以输入您选择的任何字符或字符组合。

您也可以使用 I'-'I 提到的 SPLIT,但您必须记住将第三个参数设置为 FALSE 以指定整个字符串 "q and not the individual characters " 和 q。使用 "" 获取字符串中的 "。

=split(A1,"""q",false)