FunctionPackage: exclToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1

split-regexp

Arguments: regexp string &rest args &key count start end &allow-other-keys

Scan string for a delimiter given by regexp and return a list of substrings. If count is given, then split into no more than count substrings, in which case the last substring will contain the rest of the string.

Examples:

(split-regexp (make-string 1 :initial-element #\newline)
              (format nil "1~%2~%3~%4~%5"))
  --> ("1" "2" "3" "4" "5")

(split-regexp ":" "1:2:3:4:5")
 --> ("1" "2" "3" "4" "5")

(split-regexp ":" "1:2:3:4:")
  --> ("1" "2" "3" "4")

Copyright (c) 1998-2002, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 6.2. This page was not revised from the 6.1 page.
Created 2002.2.26.

ToCDocOverviewCGDocRelNotesIndexPermutedIndex
Allegro CL version 6.2
Unrevised from 6.1