Quantcast
Channel: My Programming Blog » useful function
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

C Language: How to count digits of a number?

Often when you are writing a script, you need to know how many digits will your input have. Function that  I’ll share with you counts digits of an integer (“100″ – 3 digits; “12”- 2 digits).  User...

View Article



Image may be NSFW.
Clik here to view.

Java: How to split Java String with delimeter comma, space, new line, tab ?...

Sometimes it is very important to split a string on a comma \n \t etc. This piece of code will help you with it. import java.util.*; public class split{ public static void main ( String args[]) { //...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images