StringUtilsChopEndInPlace Method |
Chop the specified number of characters off the end of the string
(if the string is at least that long).
Warning: The string is modified in place.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void ChopEndInPlace(
ref string s,
int charsToChop
)
Public Shared Sub ChopEndInPlace (
ByRef s As String,
charsToChop As Integer
)
Parameters
- s
- Type: SystemString
The string to chop. - charsToChop
- Type: SystemInt32
The number of character to chop off.
See Also