# str_replace(del, rep, str); Replace DEL with REP in STR # strpos(str, del); Gets first occurance of DEL in STR # strrev(str); Reverses string # strtoupper(str); Makes all characters in string uppercase # strtolower(str); Makes all characters in string lowercase # strlen(str); Gets length of string # ord(char); Returns ascii of character # ucfirst(str); Makes first character uppercase in STR # ucwords(str); Makes all first characters of words uppercase in STR # explode(del, str); Returns vector <string> with strings from STR (STR seperated by DEL) # implode(e); Changes vector <string> combines strings with no delimiter # implode(glue, e); Changes vector <string> into a string with seperater GLUE # inttostr(a); Changes A into a string # strtoint(str); Changes STR into an int
This is all I have so far. Although I would like to make more, so give any suggestions on the functions. I know this is double-posting but I think more use will come out of it here.
The download website is here: c++php
Thanks for reading, and I hope you will like what I've got.
This post has been edited by thephpdev: 17 November 2011 - 08:49 PM