Partager via


LineBeginsWith

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at LineBeginsWith.

Called by InsertIntoFunction to determine if a line begins with the specified string.

Syntax

  
      function LineBeginsWith(   
   strBody,   
   strSearchString,   
   nStartPos    
);  

Parameters

strBody
The body of the function.

strSearchString
The string to find.

nStartPos
The starting position for the search.

Return Value

true if the string is found; otherwise false.

Remarks

This function is called by InsertIntoFunction to determine if the specified line begins with the specified string.

See Also

Customizing C++ Wizards with Common JScript Functions
JScript Functions for C++ Wizards
Creating a Custom Wizard
Designing a Wizard
OffsetToLineNumber