Removes repeated non-letters from word.
| 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 )
- word (String)
word without repeated whitespace
This is required because although whitespace must be indexed, long repeated chunks are not useful.