Thread
:
Getting middle of string
View Single Post
Jun 3rd, 2006, 7:17 PM
#
4
Serinth
Programmer
Join Date: Sep 2005
Posts: 50
Rep Power:
4
say you had a string str: "foshizzle", why don't you just strlen and then divide that by 2 and then printf str[half the value of strlen]
__________________
A girl talked to me once.
http://www.latestanime.com
Serinth
View Public Profile
Find More Posts by Serinth