TextUtilsInsertZeroWidthSpaces Method |
Inserts ZWSP characters into a text to break it into chunks of a defined maximum size.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static string InsertZeroWidthSpaces(
string text,
int maxChunkSize
)
Parameters
- text
- Type: SystemString
The original text. - maxChunkSize
- Type: SystemInt32
The maximum chunk size.
Return Value
Type:
StringThe text, either unchanged or with ZWSP characters inserted.
See Also