
Search In
here we are converting string values to the integer without using library functions.
#include
int stringToInt(char[] );
int main(){
char str[10];
int intValue;
printf("Enter any integer as a string: ");
s
Welcome to FindNerd. We are going to discuss the finally block in php. We use it with Exception handling. Are you familiar with exception if not then check our
exception based blog Exception concept for help. finally block run always whenever code ex
To find the maximum and minimum in an array we can use Math.max and Math.min function that returns the largest and smallest of zero or more numbers.
Syntax : - Math.max([value1[, value2[, ...]]])
Using apply,you can choose your own context. Apply
Hi All,
We in very common scenario come across a scenario where we want user to just be able to enter Mobile Number Format.
This small code piece will help in validating user to enter only Mobile number format.
$(".Mobilenumbers").keypress(function
We can easily find date difference in php by using strtotime which convert two dates to unix time once convert we can manipulate easily by calculating the number of seconds between them.Its the easy way to calculate different time periods.
$date1
A very good method i found in ruby so just thought to share it with everyone, so i am writing this blog to share and help others. This particular blog is for splitting up of array into many groups. Lets see this as an example below:
1) arr = (1..6).
Hi Reader's,
Welcome to FindNerd, today we are going to discuss what is process to convert string into an array using PHP ?
If you want to convert a string into a array then you should use str_split() function
let us know how it is works ?
The st
Hi All,
Slug :- It is a part of the URL to makes the URL more user-friendly. There are also many other advantages of the Slug. Firstly, search engines such as Google will rank your page higher for the keywords contained in the URL Secondly, usabilit
Hello Reader's if you want to get the return types of the variables in Javascript then in this blog you will learn about them.
for getting the return type you have to use the type of function in the JavaScript.
Let's see some of the return type with
Multidimensinal array is the array of arrays. You can store multidimensional array as follows:
$arr=array(
array(1,"demo1","demo2"),
array(1,"demo3","demo4"),
array(1,"demo5","demo6"),
array(1,"demo7","demo8")
);
To traverse a multidimensional arr
