|
|
|
|
|
by codehero
2472 days ago
|
|
Is it more sensible to cat 2 strings, but cut off the second one, then pass off the result as valid? I would say let an INVALID string be length 0. Then accept that catting a valid and invalid string would result in a shorter length. Which one do you think is safer? |
|