Alternative of php's explode/implode-functions in c#

前端 未结 3 676
你的背包
你的背包 2021-01-01 08:43

are there a similar functions to explode/implode in the .net-framework?

or do i have to code it by myself?

3条回答
  •  被撕碎了的回忆
    2021-01-01 09:20

    There are two methods that correspond to PHP's explode and implode methods.

    The PHP explode's equivalent is String.Split. The PHP implode's equivalent is String.Join.

提交回复
热议问题