Removes repeated non-letters from word.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected virtual string TruncateWordWithRepeatedChar( string word )
Protected Overridable Function TruncateWordWithRepeatedChar ( _ word As String _ ) As String
protected: virtual String^ TruncateWordWithRepeatedChar( String^ word )
Parameters
- word (String)
Return Value
word without repeated whitespace
Remarks
This is required because although whitespace must be indexed, long repeated chunks are not useful.