Main Content
strip
Remove leading and trailing characters from strings
Description
strips the character specified by newStr
= strip(___,stripCharacter
)stripCharacter
, instead of
whitespace characters. You can use any of the input arguments in the previous
syntaxes.
Examples
Input Arguments
Output Arguments
Algorithms
strip
does not remove significant whitespace characters.
This table shows the most common characters that are significant whitespace characters and their descriptions. For more information, see Whitespace character.
Significant Whitespace Character | Description |
---|---|
| Next line |
| Nonbreaking space |
| Figure space |
| Narrow no-break space |
Extended Capabilities
Version History
Introduced in R2016b