Strip all spaces from string

Uses regular expression to remove spaces from a given string. Read more.

php
fork add to bundle source
function strip_spaces($string) { return preg_replace('/\s+/', '', $string); }

usage

load_function('strip_spaces'); echo strip_spaces('Any coders?'); // Anycoders?
← how to use this in app?
create log ...inout