Skip to content
Prev 367026 / 398506 Next

Beginner needs help with R

Bert, your solution seems to presuppose that the programmer
knows beforehand that the leading digit in the number is "0"
(which in fact is clearly the case in Nabila Arbi's original
query). However, the sequence might arise from some process
outside of the progammer's contgrol, and may then either have
a leading 0 or not.In that case, I think Jim's solution is safer!
Best wishes,
Ted.
On 07-Feb-2017 16:02:18 Bert Gunter wrote:
-------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at wlandres.net>
Date: 07-Feb-2017  Time: 16:48:41
This message was sent by XFMail