File: substringp

package info (click to toggle)
ucblogo 6.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,584 kB
  • sloc: ansic: 17,658; cpp: 5,302; makefile: 190; perl: 3
file content (7 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
SUBSTRINGP thing1 thing2
SUBSTRING? thing1 thing2

	if "thing1" or "thing2" is a list or an array, outputs FALSE.  If
	"thing2" is a word, outputs TRUE if "thing1" is EQUALP to a
	substring of "thing2", FALSE otherwise.