StringUtilsChopEnd Method |
Chop the specified number of characters off the end of the string
(if the string is at least that long).
The original string is unmodified and the modified string is returned.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string ChopEnd(
string s,
int charsToChop
)
Public Shared Function ChopEnd (
s As String,
charsToChop As Integer
) As String
Parameters
- s
- Type: SystemString
The string to chop. - charsToChop
- Type: SystemInt32
The number of character to chop off.
Return Value
Type:
StringThe chopped string.
See Also