bayrell / BayLang

BayLang compiler source code
https://bayrell.org/ru/docs/baylang
Apache License 2.0
4 stars 0 forks source link

Add trim function #64

Open ildar-ceo opened 3 years ago

ildar-ceo commented 3 years ago
string s1 = "  123   ";
string s2 = trim(s1);

JS:

var s1 = "  123   ";
var s2 = s1.trim();

PHP:

$s1 = "  123   ";
$s2 = trim($s1);