TextHelperTrimEndingWord Method |
Removes specified word from the end of the text (if the text ends with the word).
Note: Ignore case enabled.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static string TrimEndingWord(
string text,
string word
)
Parameters
- text
- Type: SystemString
Input text - word
- Type: SystemString
Text to be removed
Return Value
Type:
StringSee Also