LiquidJS

教程标签过滤器演示API
GitHub
概述absappendarray_to_sentence_stringat_leastat_mostcapitalizeceilcgi_escapecompactconcatdatedate_to_long_stringdate_to_rfc822date_to_stringdate_to_xmlschemadefaultdivided_bydowncaseescapeescape_oncefindfind_expfind_indexfind_index_expfirstfloorgroup_bygroup_by_exphashas_expinspectjoinjsonjsonifylastlstripmapminusmodulonewline_to_brnormalize_whitespacenumber_of_wordspluspoppushprependrawrejectreject_expremoveremove_firstremove_lastreplacereplace_firstreplace_lastreverseroundrstripshiftsizesliceslugifysortsort_naturalsplitstripstrip_htmlstrip_newlinessumtimesto_integertruncatetruncatewordsuniqunshiftupcaseuri_escapeurl_decodeurl_encodewherewhere_expxml_escape

upcase

v1.9.1

字符串中每个字符都转为大写,对已经是大写的字符没有影响。

输入

{{ "Parker Moore" | upcase }}

输出

PARKER MOORE

输入

{{ "APPLE" | upcase }}

输出

APPLE
上次更新:2025-04-03 上一页下一页
目录
回到顶部
© 2025 Harttle
本文档通过 CC BY 4.0 授权。
    教程标签过滤器演示API
概述absappendarray_to_sentence_stringat_leastat_mostcapitalizeceilcgi_escapecompactconcatdatedate_to_long_stringdate_to_rfc822date_to_stringdate_to_xmlschemadefaultdivided_bydowncaseescapeescape_oncefindfind_expfind_indexfind_index_expfirstfloorgroup_bygroup_by_exphashas_expinspectjoinjsonjsonifylastlstripmapminusmodulonewline_to_brnormalize_whitespacenumber_of_wordspluspoppushprependrawrejectreject_expremoveremove_firstremove_lastreplacereplace_firstreplace_lastreverseroundrstripshiftsizesliceslugifysortsort_naturalsplitstripstrip_htmlstrip_newlinessumtimesto_integertruncatetruncatewordsuniqunshiftupcaseuri_escapeurl_decodeurl_encodewherewhere_expxml_escape