StartOfString

StartOfString

为了匹配 StringExpression,表示一个字符串的开始.

范例

基本范例  (3)

测试一个字符是否以 "a" 开头:

替换字符串中的第一个字母:

移除首空格:

Wolfram Research (2004),StartOfString,Wolfram 语言函数,https://reference.wolfram.com/language/ref/StartOfString.html.

文本

Wolfram Research (2004),StartOfString,Wolfram 语言函数,https://reference.wolfram.com/language/ref/StartOfString.html.

CMS

Wolfram 语言. 2004. "StartOfString." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/StartOfString.html.

APA

Wolfram 语言. (2004). StartOfString. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/StartOfString.html 年

BibTeX

@misc{reference.wolfram_2024_startofstring, author="Wolfram Research", title="{StartOfString}", year="2004", howpublished="\url{https://reference.wolfram.com/language/ref/StartOfString.html}", note=[Accessed: 18-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_startofstring, organization={Wolfram Research}, title={StartOfString}, year={2004}, url={https://reference.wolfram.com/language/ref/StartOfString.html}, note=[Accessed: 18-December-2024 ]}