Take Command / TCC Help v. 13.03

String substitution

Hide Navigation Pane

String substitution

Previous topic Next topic No directory for this topic No expanding text in this topic  

String substitution

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function Mail us feedback on this topic!  

Comments (...)

For compatibility with some peculiar syntax introduced in recent CMD versions, TCC supports:

 

%var:string1=string2%

Substitutes the second string for all instances of the first string in the variable.

%var:~x[,y]%

Returns the substring starting at the xth character position (base 0) and continuing for y characters. If y is not specified, returns the remainder of the string. If x is negative, starts from the end of the string.

 

For string manipulations, we suggest you rely instead on the much more flexible Variable Functions.

Comments (...)