Click or drag to resize
CharacterPropertiesGetPrefixLength Method
Computes and returns the length of the prefix of the provided string s where each character satisfies the provided predicate.

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public static int GetPrefixLength(
	string s,
	Predicate<char> predicate
)

Parameters

s
Type: SystemString

[Missing <param name="s"/> documentation for "M:Sdl.LanguagePlatform.Core.CharacterProperties.GetPrefixLength(System.String,System.Predicate{System.Char})"]

predicate
Type: SystemPredicateChar

[Missing <param name="predicate"/> documentation for "M:Sdl.LanguagePlatform.Core.CharacterProperties.GetPrefixLength(System.String,System.Predicate{System.Char})"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Sdl.LanguagePlatform.Core.CharacterProperties.GetPrefixLength(System.String,System.Predicate{System.Char})"]

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments