LiquidJS

教程标签过滤器演示API
Github Support
概述absappendat_leastat_mostcapitalizeceilcompactconcatdatedefaultdivided_bydowncaseescapeescape_oncefirstfloorjoinjsonlastlstripmapminusmodulonewline_to_brplusprependrawremoveremove_firstremove_lastreplacereplace_firstreplace_lastreverseroundrstripsizeslicesortsort_naturalsplitstripstrip_htmlstrip_newlinestimestruncatetruncatewordsuniqupcaseurl_decodeurl_encodewhere

lstrip

v1.9.1

移除字符串左侧的空白字符(制表符、空格、换行),不影响词之间的空格。

输入

BEGIN{{ "          So much room for activities!          " | lstrip }}END

输出

BEGINSo much room for activities!          END
上次更新:2023-06-03 上一页下一页
目录
回到顶部
© 2023 Harttle
本文档通过 CC BY 4.0 授权。
    教程标签过滤器演示API
概述absappendat_leastat_mostcapitalizeceilcompactconcatdatedefaultdivided_bydowncaseescapeescape_oncefirstfloorjoinjsonlastlstripmapminusmodulonewline_to_brplusprependrawremoveremove_firstremove_lastreplacereplace_firstreplace_lastreverseroundrstripsizeslicesortsort_naturalsplitstripstrip_htmlstrip_newlinestimestruncatetruncatewordsuniqupcaseurl_decodeurl_encodewhere