امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
How would I convert this string to an array within a template?
{{ $records.connectionString }} which equals "0:0:991:1000 0:1:235:1"
I'd like to convert the string above to an array (which is broken up by " " and ":", then loop through it and only output the third value 991 and 235 on their own lines.
EX:
991
235
Also note: Apologies if this is in the wrong section.
{{ $records.connectionString }} which equals "0:0:991:1000 0:1:235:1"
I'd like to convert the string above to an array (which is broken up by " " and ":", then loop through it and only output the third value 991 and 235 on their own lines.
EX:
991
235
Also note: Apologies if this is in the wrong section.
