How to get text between two characters?

后端 未结 6 1143
难免孤独
难免孤独 2020-12-06 04:55

|text to get| Other text.... migh have \"|\"\'s ...

How can I get the text to get stuff from the string (and remove it)?

It should

6条回答
  •  甜味超标
    2020-12-06 05:19

    you should look up the following functions:

    split()
    substr()
    

    Depending on how you want to solve your task either can be used.

提交回复
热议问题