Cold Help System: Programming: ColdC Reference Manual: Functions: String: strgraft()


STRING strgraft(STRING str, INTEGER pos, STRING str2)

This function grafts a string into another string. It will take the string specified by str2 and insert it into str, starting at the position specified by pos. Example:

strgraft("this string", 6, "is a ")
=> "this is a string"


crypt() | explode() | lowercase() | match_begin() | match_pattern() | match_regexp() | match_template() | pad() | regexp() | strcmp() | strfmt() | strgraft() | strlen() | strsed() | strsub() | substr() | uppercase() | match_crypted() | split() | stridx()


the Cold Dark