Tests if the character at the specified position in the test string can be set to the value specified, and sets the character to that value if the test is successful. The position specified is relative to the test string. The MaskedTextResultHint out param gives more information about the operation result. Returns true on success, false otherwise.