Array::plen StringReplacePart::plen
Details
-
- This message is generated when the length of the second argument in Array is not the same as the length of the third argument.
- This message is generated when StringReplacePart is used for multiple replacements and the number of replacement strings is not the same as the number of position specifications.
- The second argument in StringReplacePart gives the replacement strings and the third argument gives the position specifications.
- Off[message] switches off the message; On[message] switches it on. For example: Off[Array::plen].
Examples
Basic Examples (2)
The second and third arguments do not have the same length:
This shows valid arguments in Array:
The length of the second argument is not the same as the length of the third argument:
This shows valid arguments for multiple string replacements using StringReplacePart: