0
How do I set profile image as first letters of first and last name? If you don't upload ur PROFILE PHOTO
WEB
4 Antworten
+ 3
```
"Bruh".split()[0]
"Bruh".split(" ")[0]
```
?
+ 3
You can use the split and charAt method.
Node js example
https://code.sololearn.com/cV4zEmYIFFR8/?ref=app
Nodejs CharAt method example
https://code.sololearn.com/cc3yFC2m9dxL/?ref=app
Web example
https://code.sololearn.com/WSq29H4dff15/?ref=app
+ 1
https://code.sololearn.com/W2TTl0IO7Bn8/?ref=app
iam done