ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,664
- Points
- 823
Reputation:
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.
Continue reading...
{{ $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.
Continue reading...