2024-06-12 11:46:11 +02:00
|
|
|
print('-- empty, notEmpty, length, lower, upper, reverse --')
|
|
|
|
if (empty('') and notEmpty('234')) print(length('123'))
|
|
|
|
if (lower('Tdd4gh') == 'tdd4gh') print(upper('test'))
|
|
|
|
print(reverse('spinner'))
|
2024-06-14 11:03:57 +02:00
|
|
|
|
|
|
|
print(encodeURLComponent('http://www.google.com'))
|
|
|
|
print(encodeURLComponent('tom & jerry'))
|
|
|
|
|
|
|
|
print(decodeURLComponent(encodeURLComponent('http://www.google.com')))
|
|
|
|
print(decodeURLComponent(encodeURLComponent('tom & jerry')))
|
|
|
|
|
|
|
|
print(base64Encode('http://www.google.com'))
|
|
|
|
print(base64Encode('tom & jerry'))
|
|
|
|
|
|
|
|
print(base64Decode(base64Encode('http://www.google.com')))
|
|
|
|
print(base64Decode(base64Encode('tom & jerry')))
|