<-Back

Function: Replace-Substring

REPLACE-SUBSTRING string

Replaces all substring occurrences of old with new in string. Note: In a full GDL system, you will have glisp:replace-regexp, which is more powerful and probably more efficient than this.

arguments:
string String
The source string
old String
The substring to be replaced
new String
The substring to replace it with
see-also:
excl:replace-regexp

<-Back