Joined: 11 Nov 2008
Location: United Kingdom
Online Status: Offline
Posts: 35
Topic: Adding : to a string (every 2 characters) Posted: 03 May 2011 at 5:21am
Hi all,
I'm working on a report to catalog tapes coming into a TV station.
The timecodes are stored in the database as a string (00000000)
For the operators to read it properly, I need to add : in every 2 characters so it splits the string as:
00:00:00:00 (Hours, Minutes, Seconds, Frames).
Is there a pre-existing function that can do this, or is the best way to create an array and then create a new string that adds the array together along with..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum