Dart Ftp Control
Find Method
The substring to match. Matching starts with the first character.
Optional. Defaults to 0. On input, it contains the index in the collection after which to start the search. On return, it is updated to the index of the string returned by Find. If no string is found, StartAfter is set to 0.
Description
Return a string from the collection where the beginning substring matches the specified string. The string comparison is case-insensitive, starting with the leftmost character.
Syntax
Visual Basic
Public Function Find( _
   ByVal SubString As String, _
   Optional ByRef StartAfter As Variant _
) As String
Parameters
SubString
The substring to match. Matching starts with the first character.
StartAfter
Optional. Defaults to 0. On input, it contains the index in the collection after which to start the search. On return, it is updated to the index of the string returned by Find. If no string is found, StartAfter is set to 0.
Remarks

When specifying StartAfter, use an index between 0 and one less than the collection's Count property. Specifying a value of 0 (the default) starts with the first string in the collection.

Error Codes

This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):

See Also

DartStrings Collection  | DartStrings Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic