-
Notifications
You must be signed in to change notification settings - Fork 9
StringExt
Will Blanton edited this page Jul 27, 2018
·
2 revisions
Added functionality for Strings!
This is an Extension! Learn about using Extensions here!
'0,1,2,3\n4,5,6,7'.csv_to_int_array(); // [0,1,2,3,4,5,6,7]
'0,1,2,3\n4,5,6,7'.csv_to_2d_int_array(); // [[0,1,2,3],[4,5,6,7]]
'Zerolib is a really cool library!'.contains('cool'); // true
'hi'.get_random(4, 'random text: ', ' cool, huh?'); // 'random text: Na9D cool, huh?'
For more info, please check out the API: http://01010111.com/zerolib/