www.delorie.com/gnu/docs/guile/guile_475.html   search  
Buy GNU books!

Guile Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

39.11.14 Miscellaneous

string-replace is for replacing a portion of a string with another string and string-tokenize splits a string into a list of strings, breaking it up at a specified character.

Scheme Procedure: string-replace s1 s2 [start1 end1 start2 end2]
Return the string s1, but with the characters start1 ... end1 replaced by the characters start2 ... end2 from s2.

Scheme Procedure: string-tokenize s [token_char start end]
Split the string s into a list of substrings, where each substring is a maximal non-empty contiguous sequence of characters equal to the character token_char, or whitespace, if token_char is not given. If token_char is a character set, it is used for finding the token borders.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003