get the first word of a string javascript
let sentence = "The big brown fox"
let word = sentence.split(" ")[0]
console.log(word) // The
Also in JavaScript:
- how to insert a value into an array javascript
- get location from brwoser react
- webslesson search bar ajax
- killall node windows
- jstree search example
- how to disable menu bar in browser using javascript
- react native storage
- javascript change url without redirect
- simple node server
- loop json jquery
- jquery validate array input not working
- js string explode
- iframe content zoom in and zoom out jquery
- what is react native
- get file extension of path extendscript
- git remote url change
- how to put firebase config in a sperate file react native
- javascript get body height
- react native tab navigation
- return an object from an array javascript
- equal to or more than javascript
- jquery preventdefault
- sort array of objects javascript by value
- js change key value in object