STUFFC( ) Function
| Visual FoxPro 9.0 SP2 |
| STUFFC( ) Function |
| See Also |
|
Returns a character string created by replacing a specified number of characters in a character expression with another character expression.
STUFFC(cExpression, nStartReplacement, nCharactersReplaced, cReplacement) |
Parameters
- cExpression
-
Specify the character expression in which the replacement occurs.
- nStartReplacement
-
Specifies the character position in cExpression where the replacement begins.
- nCharactersReplaced
-
Specifies the number of characters to be replaced. If nCharactersReplaced is 0, the entire replacement string cReplacement is inserted into cExpression.
- cReplacement
-
Specifies the replacement character expression. If cReplacement is the empty string, the number of characters specified by nCharactersReplaced are removed from cExpression.
Return Value
Remarks
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08