Main Content
whitespacePattern
Syntax
Description
creates a pattern that
matches text composed of one or more whitespace characters such as spaces and tabs.pat
= whitespacePattern
matches text composed of a number of whitespace characters greater than or equal to
pat
= whitespacePattern(minCharacters
,maxCharacters
)minCharacters
and less than or equal to
maxCharacters
. inf
is a valid value for
maxCharacters
. whitespacePattern
is
greedy and matches a number of whitespace characters as close to
maxCharacters
as possible.
Examples
Input Arguments
Output Arguments
More About
Extended Capabilities
Version History
Introduced in R2020b