Module:string/php trim
පෙනුම
- පහත දැක්වෙන උපදෙස්, Module:string/php trim/documentation හි පිහිටා ඇත. Module:string/php trim/documentation]]. [සංස්කරණය]
- ප්රයෝජනවත් සබැඳි: root page • root page’s subpages • සබැඳි • transclusions • testcases • sandbox
Lua equivalent of PHP's trim($string), which trims "\0", "\t", "\n", "\v", "\r" and " ". This is useful when dealing with template parameters, since the native parser trims them like this.