
BABILONIA CYBER II01.
FoxPro/Visual FoxPro
Publicado el 22 de Noviembre del 2019 por Las Raices
2.265 visualizaciones desde el 22 de Noviembre del 2019




& -> &
< -> <
> -> >
' -> '
" -> "
unescapeHTML("<br>"); // <br>
unescapeHTML("<p>Code of 'JavaScript'</p>"); // <p>Code of 'JavaScript'</p>
unescapeHTML("<a href="https://www.google.com">Google</a>"); // <a href="https://www.google.com">Google</a>





(1)anagrams('abba', ['aabb', 'abcd', 'bbaa', 'dada']); // ['aabb', 'bbaa']
anagrams('racer', ['crazer', 'carer', 'racar', 'caers', 'racer']); // ['carer', 'racer']
anagrams('laser', ['lazing', 'lazy', 'lacer']); // []





(1)expandedForm(12); // '10 + 2'
expandedForm(42); // '40 + 2'
expandedForm(70304); // '70000 + 300 + 4'





(1)tickets([25, 25, 50]); // => YES
tickets([25, 100]); // => NO
tickets([25, 25, 50, 50, 100]); // => NO
tickets([25, 25, 50, 50, 25, 100]); // => YES
tickets([50, 25, 25]); // => NO
tickets([100, 25, 25]); // => NO









(2)solution('abc') // ['ab', 'c_']
solution('abcdef') // ['ab', 'cd', 'ef']





(1)digital_root(16)
// 1 + 6
// 7
digital_root(942)
// 9 + 4 + 2
// 15 ...
// 1 + 5
// 6
digital_root(493193)
// 4 + 9 + 3 + 1 + 9 + 3
// 29 ...
// 2 + 9
// 11 ...
// 1 + 1
// 2