Base-64 kodlanmış dize kırpmak nasıl?

0 Cevap php

Hey guys, I'm not much of a PHP expert. I'm encoding a URL with base64_encode. I get quite a long encoded string with a lot of weird characters exactly as I want it to be. Is there a way to trim this long line of characters to let's say 10 or 15 chars, so I can decode it later again?

I trim() olduğunu biliyorum ama tam olarak ne istediğimi değil. Ben uzun bir kodlanmış bir dize yerine kısa olmak istiyorum ve daha sonra ben tekrar çözmek istiyorum.

Herhangi bir fikir?

0 Cevap