MgErr CPStrReplace(s1h, s2, index);
Replaces a Pascal string in a concatenated list of Pascal strings with a new Pascal string.
Name | Type | Description |
---|---|---|
s1h | CPStrHandle | Handle to a concatenated list of Pascal strings. |
s2 | PStr | Pointer to a Pascal string. |
index | int32 | Number of the string you want to replace, with 0 as the first string. |
MgErr, which can contain the following errors. If you receive errors from LabVIEW Manager functions, most error names correspond to LabVIEW error codes.
Value | Corresponding Error Code or Description |
---|---|
noErr | No error. |
mFullErr | 2 |