next up previous contents index
Next: The strciprefix Command Up: String Comparison and Global Previous: The strcicmp Command   Contents   Index


The strprefix Command

The strprefix command will set the global return value to one if string1 is a prefix of string2, or zero if not.

strprefix string1 string2



Stephen R. Whiteley 2022-09-18