Ensures that the target string is iMaxLength or fewer characters
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static string TrimTo(
string sString,
int iMaxLength
)
Public Shared Function TrimTo (
sString As String,
iMaxLength As Integer
) As String
public:
static String^ TrimTo(
String^ sString,
int iMaxLength
)
Parameters
- sString
- Type: SystemString
The string to trim from - iMaxLength
- Type: SystemInt32
The maximum number of characters to return
Return Value
Type:
StringUp to iMaxLength characters from the "Head" of the string.
See Also