pastebin
Add a new paste
View all pastes
Change language
Dutch
English
French
Russian
menu
URL Shortener
Multiple URL shortener
browser info
Whois IP and domain lookup
Capture a Website screenshot
Disqus Chatroom
Registration
pastebin
Paste Search Dynamic
Recent pastes
Binance
2 hours ago
Jsonutility argumentexception
4 hours ago
base OnStartAuthority
4 hours ago
NetworkClient AddPlayer
4 hours ago
WebGL Failed to load resource
4 hours ago
Unity err memory
4 hours ago
Unity Package Cache error
4 hours ago
JNI Error
4 hours ago
GLFW Error
4 hours ago
Process crashed
4 hours ago
trimString
function
trimString
(
x
)
{
let trimValue = x.
replace
(
/^s+|s+$/g
,
''
)
;
return
trimValue;
}
const
result = trimString
(
' Hello world! '
)
;
console.
log
(
result
)
;
Parsed in 0.003 seconds