Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Some String Functions

Author
Message
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 14th Jul 2007 19:08 Edited at: 14th Jul 2007 19:08
Here are three string functions that I've made. They will add,replace,or remove single characters from a string. Just thought I'd post them here, someone may find them useful.


An example where "Gives" becomes "Diver"




The functions alone:



Please post comments,
-Sixty Squares

vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 14th Jul 2007 19:30
Looks good, this has given me an idea


Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 14th Jul 2007 19:34
Thanks! I wonder what idea this has given you

vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 14th Jul 2007 20:39
A kind of puzzle mini game, using your string functions to place the letter blocks down to make the right word, basically an anagram. I hope it works anyway


Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 14th Jul 2007 21:55 Edited at: 14th Jul 2007 21:55
Sounds great! I hope you can get it to work

Login to post a reply

Server time is: 2024-11-22 18:25:24
Your offset time is: 2024-11-22 18:25:24