Which string function can I use to touch everything after - ? The string is not predefined so rtrim () does not work.
9453-abcafaf3ceb895d7b1636ad24c37cb9f-100.png? 1
function and "-" character of delimiter Use in the form. This will return an array of strings if you only care about the information before the first dash, then only use the zero indicator of the returned array.
Edit:
Sorry. For many months after living in the dragon world, the first thing that broke into mind came in mind. Explode is the correct function.
Editing 2:
strip , lstrip , and rstrip to close the end (s) of the string Is used for.
Comments
Post a Comment