fm_spanexcluding

Click to Download

Description

A modification of the standard spanexcluding function. This function allows you to specify the number of delimiters to count before excluding characters.
 

Usage

Useful for outputting a summary of a large piece of text. For example, you may want to display the first two or three sentences of a news story.

Attributes

set Optional The character(s) to exclude from the string.
string Required The text to exclude characters from.
count Required The number of delimiters, as an integer, to count before excluding begins.
 

Featured Links