Man Scilab

strsubst
Scilab Function

strsubst - substitute a character string by another in a character string.

Calling Sequence

str=strsubst(str1,str2,str3)

Parameters

Description

strsubst replaces all occurrences of str2 in str1 by str3 .

Examples


strsubst('SCI/demos/scicos','SCI','.')
strsubst('SCI/demos/scicos','/',' ')
 
  

See Also

string ,   strings ,  

Back