diff options
Diffstat (limited to 'libguile/strop.c')
-rw-r--r-- | libguile/strop.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/libguile/strop.c b/libguile/strop.c index 3ff1726c8..a7f2911ba 100644 --- a/libguile/strop.c +++ b/libguile/strop.c @@ -100,14 +100,16 @@ scm_i_index (SCM *str, SCM chr, int direction, SCM sub_start, SCM_DEFINE (scm_string_index, "string-index", 2, 2, 0, (SCM str, SCM chr, SCM frm, SCM to), - "Return the index of the first occurrence of @var{chr} in @var{str}. The\n" - "optional integer arguments @var{frm} and @var{to} limit the search to\n" - "a portion of the string. This procedure essentially implements the\n" - "@code{index} or @code{strchr} functions from the C library.\n\n" - "(qdocs:) Returns the index of @var{char} in @var{str}, or @code{#f} if the\n" - "@var{char} isn't in @var{str}. If @var{frm} is given and not @code{#f},\n" - "it is used as the starting index; if @var{to} is given and not @var{#f},\n" - "it is used as the ending index (exclusive).\n\n" + "Return the index of the first occurrence of @var{chr} in\n" + "@var{str}. The optional integer arguments @var{frm} and\n" + "@var{to} limit the search to a portion of the string. This\n" + "procedure essentially implements the @code{index} or\n" + "@code{strchr} functions from the C library.\n (qdocs:) Returns\n" + "the index of @var{char} in @var{str}, or @code{#f} if the\n" + "@var{char} isn't in @var{str}. If @var{frm} is given and not\n" + "@code{#f}, it is used as the starting index; if @var{to} is\n" + "given and not @code{#f}, it is used as the ending index\n" + "(exclusive).\n\n" "@example\n" "(string-index \"weiner\" #\\e)\n" "@result{} 1\n\n" |