Compartir a través de


LineBeginsWith

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

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

Tasks

Creating a Custom Wizard

Reference

OffsetToLineNumber

Concepts

Customizing C++ Wizards with Common JScript Functions

Designing a Wizard

Other Resources

JScript Functions for C++ Wizards