SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
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 
)