Showing posts with label tail. Show all posts
Showing posts with label tail. Show all posts

Thursday, 26 March 2020

Operasi Dasar String ~ Head & Tail

Head
" simbol paling depan dari String"

Tail
"simbol paling akhir dari String"


Contoh:
Misalkan 

String(x)= 100100, maka
Head(x)= 1
Tail(x)= 0