Cuemon .NET Framework
Chunk(String) Method

A System.String to chunk into a sequence of smaller string-slices for partitioned storage or similar.
Returns a sequence that is chunked into string-slices having a length of 1024 that is equivalent to value.
Syntax
'Declaration
 
Public Overloads Shared Function Chunk( _
   ByVal value As String _
) As IEnumerable(Of String)
public static IEnumerable<string> Chunk( 
   string value
)

Parameters

value
A System.String to chunk into a sequence of smaller string-slices for partitioned storage or similar.

Return Value

A sequence that is chunked into string-slices having a length of 1024 that is equivalent to value.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionvalue is null.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StringUtility Class
StringUtility Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback