| StringUtilitiesGetSuffixLength Method |
Computes the length of the suffix of s which entirely consists
of characters in suffixChars. If either of the parameters is
null or empty, 0 is returned.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static int GetSuffixLength(
string s,
char[] suffixChars
)
Public Shared Function GetSuffixLength (
s As String,
suffixChars As Char()
) As Integer
public:
static int GetSuffixLength(
String^ s,
array<wchar_t>^ suffixChars
)
static member GetSuffixLength :
s : string *
suffixChars : char[] -> int
Parameters
- s
- Type: SystemString
The string - suffixChars
- Type: SystemChar
The set of suffix characters
Return Value
Type:
Int32The length of the suffix of
s which entirely consists
of characters contained in
suffixChars
See Also
Comments