Truncation.Truncate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Truncate(String) | |
Truncate(Object, Int32) | |
Truncate(String, Int32) |
Truncate(String)
Truncate(Object, Int32)
Truncate(String, Int32)
public:
static System::String ^ Truncate(System::String ^ s, int length);
public static string Truncate (string s, int length);
static member Truncate : string * int -> string
Public Shared Function Truncate (s As String, length As Integer) As String
Parameters
- s
- String
- length
- Int32