Posts: 190
Threads: 28
Joined: Jul 2013
Reputation:
0
Hi, I've got a string that I wanna edit, is there any function for that?
Lets say I've got a string '25 Apr 2014' which I wanna edit to '25 Apr, 2014' (adding comma after Apr). Can someone help me out?
Posts: 190
Threads: 28
Joined: Jul 2013
Reputation:
0
I've got a string which is already been made, I don't have data in pieces like day, month and year.
Posts: 68
Threads: 1
Joined: Mar 2014
Reputation:
0
Yes I know, you just split the string up into a day, month and year using sscanf, after that, you can rebuild the string using "format" and add anything you want, like the comma after "Apr"
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
What is the source of this string, if I may ask? Where is it generated?