Thursday, January 5, 2012

How do you locate a number in a given long number in java?

Off the top of my head, have a look at the CharAt() method for strings. There may be an equivalent for longs, though you could possibly cast the long to a string for the purposes of finding the character.

No comments:

Post a Comment