<i>2-argument string toupper/tolower/totitle doesn't work as documented</i> status still Open with 3 other changes
by
.
D 2025-07-12T17:26:14.340
J icomment I'm\salso\sfor\sdocumentation\schange...<br/>\r\nJust\sbecause\sthis\sbehaviour\s(first\sis\sjust\san\sindex\swithout\slast)\sis\sat\sleast\ssince\s8.5\s(if\snot\searlier),\sso\seven\sif\sactual\sdocu\ssays\ssomething\sdifferent,\sthe\scode\sworks\sas\sit\sworks\severywhere\sdozen\syears\sand\sthere\sis\sno\sone\sreason\sto\schange\sthe\sbehaviour\sof\stcl\sfor\sthe\ssake\sof\sdocumentation.\r\n\r\nEspecially\sbecause\sit\sis\spretty\ssimple\sto\sforce\sthe\schange\scase\sto\sthe\send,\swith\ssupplying\sthe\s`last`\sas\s`end`\s(to\scause\s"documented"\sbehaviour):\r\n\r\n```\r\n%\sstring\stolower\sABCDE\s2\r\nABcDE\r\n%\sstring\stolower\sABCDE\s2\send\r\nABcde\r\n```\r\n\r\n@Jan,\sby\sthe\sway,\syou\swrote\sthe\ssame\sstatement\s(result)\sfor\sboth\svariants,\sso\shere\sagain\s(and\sa\sbit\smore\sclear\sexample):\r\n\r\n```\r\n#\sif\sthe\scode\swins:\r\n%\sstring\stolower\sABCDE\s2\r\nABcDE\r\n\s\s\\-------\sonly\sgiven\sindex\r\n\r\n#\sif\sthe\sdocu\swins:\r\n%\sstring\stolower\sABCDE\s2\r\nABcde\r\n\s\s\\-/\s----\sfrom\sgiven\sindex\sto\send\r\n```
J login sebres
J mimetype text/x-markdown
K 8cd74c5cd2e93ad82b6913847a08381977eaefc3
U sebres
Z 013104a476fb1b454388562a3258463f