1 The `lc()` function turns each upper case character in the source string 2 into lower case and returns the resulting copy. 3 4 The input argument is converted to a string in case it is not already a 5 string value. 6 7 -- Testcase -- 8 {% 9 printf("%.J\n", [ 10 lc("This Will Be All Lowercased."), 11 lc([ "An", "array", "ABC" ]), 12 lc(123), 13 lc(false), 14 lc() 15 ]); 16 %} 17 -- End -- 18 19 -- Expect stdout -- 20 [ 21 "this will be all lowercased.", 22 "[ \"an\", \"array\", \"abc\" ]", 23 "123", 24 "false", 25 "null" 26 ] 27 -- End --
This page was automatically generated by LXR 0.3.1. • OpenWrt