YAYA 6.0.901 functions


_data=IHASH
_data['apple']='taste good'
_data['orange']='juicy'

_data
// -> apple=taste good,orange=juicy

HASH_KEYS(_data)
// -> IARRAY('apple','orange')

HASH_VALUES(_data)
// -> IARRAY('taste good','juicy')

HASH_EXIST('orange',_data)
// -> 1

HASH_EXIST('tree',_data)
// -> 0

HASH_SIZE(_data)
// -> 2

_i='a=1,b=2,c=3,d=4'
_data=HASH_SPLIT(_i,',','=')
// HASH_SPLIT(<string>,<delimiter of elements>,<delimiter of key/value>)

// -- will be available in new yaya-500 and yaya-901
//
// Heredoc
//
// Start of Heredoc mark are "<<'" and '<<"', must be in the end of line
// End of Heredoc mark are "'>>" and '">>', quote must match and must be in the start of line

_i=<<'
123
456
789
'>>