|
pure virtual |
Reverse a string in place given starting and ending offests, allowing any portion, or the entire string to be reversed.
Given the string "1234567890" calling reverseString() with a cStart of 0 and a cEnd of 9 would reverse the entire string resulting in "0987654321$quot;. Calling reverseString() with a cStart of 4 and a cEnd of 8 would result in this output "1234876590".
pBuffer | [ in ] The address of the string to reverse |
cStart | [ in ] The start offset (in characters) in the buffer pointed to by pBuffer at which to begin revering the string. |
cEnd | [ in ] The ending offset (in characters) in pBuffer to stop reversing the string. |