number max

Is the string comma delimited, or just a bunch of digits? If it's like "1, 4, 123, 9, 456" then you could use the Split method and then loop to find the max. If the string looks like "1458273" and you want to find the biggest digit, then loop through the chars of the string to find the max.

-Ner
 
Back
Top