StringExtensions.GetFirstCharacters Method
From Telerik.ILS.Common
A Sandcastle Documented Class Library
| StringExtensionsGetFirstCharacters Method |
The method returns the first N characters of the string
Namespace: Telerik.ILS.Common
Assembly: StringExtensions (in StringExtensions.dll) Version: 1.0.0.0 (1.0.0.0)
public static string GetFirstCharacters( this string input, int charsCount )
<ExtensionAttribute> Public Shared Function GetFirstCharacters ( input As String, charsCount As Integer ) As String
public: [ExtensionAttribute] static String^ GetFirstCharacters( String^ input, int charsCount )
[<ExtensionAttribute>] static member GetFirstCharacters : input : string * charsCount : int -> string
Parameters
- input
- Type: SystemString
[Missing <param name="input"/> documentation for "M:Telerik.ILS.Common.StringExtensions.GetFirstCharacters(System.String,System.Int32)"]
- charsCount
- Type: SystemInt32
How many characters to take from the string
Return Value
Type: StringReturns the first N characters