AssociationFormat
TextStringおよび関連関数のオプションで,連想のフォーマットの仕方を決定する.
詳細
- AssociationFormat->{"left","sep","right","arrow"}は,連想が,デリミタ"left","sep"で互いに区切られた連想中の項目,デリミタ"right"の順でフォーマットされるように指定する.各 key->value ペアは key "arrow" value の順でフォーマットされる.
- AssociationFormat->Automaticは,指定{"<|",", ","|>"," -> "}を使うように指定する.これはWolfram言語における連想の通常のシンタックスに相当する.
例題
例 (1)
TextString[<|"first" -> 1, "second" -> 2, "third" -> 3|>, AssociationFormat -> Automatic]TextString[<|"first" -> 1, "second" -> 2, "third" -> 3|>, AssociationFormat -> {"{
", ",
", "
}", ": "}]TextString[<|"first" -> 1, "second" -> 2, "third" -> 3|>, AssociationFormat -> {"[ ", "; ", " ]", " = "}]テキスト
Wolfram Research (2014), AssociationFormat, Wolfram言語関数, https://reference.wolfram.com/language/ref/AssociationFormat.html.
CMS
Wolfram Language. 2014. "AssociationFormat." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AssociationFormat.html.
APA
Wolfram Language. (2014). AssociationFormat. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AssociationFormat.html
BibTeX
@misc{reference.wolfram_2026_associationformat, author="Wolfram Research", title="{AssociationFormat}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/AssociationFormat.html}", note=[Accessed: 17-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_associationformat, organization={Wolfram Research}, title={AssociationFormat}, year={2014}, url={https://reference.wolfram.com/language/ref/AssociationFormat.html}, note=[Accessed: 17-August-2026]}