String..::..Slice Method (Int32)
The slice() method extracts a section of a string and returns a new string.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
Parameters
- beginSlice
- Type: System..::..Int32
The zero-based index at which to begin extraction. If negative, it is treated as (sourceLength-beginSlice) where sourceLength is the length of the string (for example, if beginSlice is -3 it is treated as sourceLength-3).