How can I split a list with multiple delimiters?

前端 未结 3 452
不知归路
不知归路 2021-01-25 03:59

Basically, I want to enter text into a text area, and then use them. For example

variable1:variable2@variable3
variable1:variable2@variable3
variable1:variable2@         


        
3条回答
  •  我在风中等你
    2021-01-25 04:53

    if necessary, you could make several calls to "explode"

    http://jp.php.net/manual/en/function.explode.php

提交回复
热议问题