'\" t .\" Title: function::isinstr .\" Author: .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: May 2021 .\" Manual: A collection of standard string functions .\" Source: SystemTap Tapset Reference .\" Language: English .\" .TH "FUNCTION::ISINSTR" "3stap" "May 2021" "SystemTap Tapset Reference" "A collection of standard strin" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" function::isinstr \- Returns whether a string is a substring of another string .SH "SYNOPSIS" .sp .nf isinstr:long(s1:string,s2:string) .fi .SH "ARGUMENTS" .PP \fIs1\fR .RS 4 string to search in .RE .PP \fIs2\fR .RS 4 substring to find .RE .SH "DESCRIPTION" .PP This function returns 1 if string \fIs1\fR contains \fIs2\fR, otherwise zero\&. .SH SEE ALSO\n .IR tapset::string (3stap)