Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js split data

function splitStr(str) {
      
    // Function to split string
    var string = str.split("*");
      
    console.log(string);
}
  
// Initialize string
var str = "Welcome*to*GeeksforGeeks";
  
// Function call
splitStr(str);
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #node #js #split #data
ADD COMMENT
Topic
Name
9+4 =