What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-28 01:15:03
remove space from string javascript
str.replace(/\s+/g, '') Add solution -
Javascript 2021-08-27 23:17:02
add slashes to string
str = str.replace(/'/g, "\\'"); Add solution -
PHP 2021-08-27 17:48:02
display content in table in drupal 7
<?php echo show_table('blocks', 50); function show_table($table = NULL, $rows_per_page = 20) { if (!$table || !db_table_exists($table)) { drupal_set_message(t('You must supply a valid database table name.'), 'error'); drupal_access_denied(); ... Add solution -
Shell/Bash 2021-08-27 05:21:01
powershell string replace
# Using the replace function (case sensitive) $str = "Hello world!" $str.replace("world", "Mars") # Hello Mars! # Using the replace operator (case insensitive, allows RegEx) $str = "Hello world!" $str -replace &quo... Add solution
Best helpers
Ranking is empty