SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions
isPrefixOf

Functions

bool isPrefixOf (string a, string b)
 

Detailed Description

Function for checking if a string is a prefix of another string.

Parameters
aprefix string
bother string
Returns
returns true if a is a prefix of b and false otherwise

Function Documentation

◆ isPrefixOf()

bool isPrefixOf ( string  a,
string  b 
)