Published on : August 13, 2020
Title:php.chop
Purpose: Remove characters from the right end of a string:
Syntax:[php.chop p1=”Hello World!” p2=”World!” o.set=template.chopStr /]
Input Parameter
:p1: String
p2: characters to remove from the string
Return Value: Returns the modified string
Example[php.chop p1=”Hello World!” p2=”World!” o.set=template.chopStr /]