String Handling Routines
x plane keyboard commands ibm laptop cases island with palm tree made out of construction paper teaching reading to kindergarten amitriptyline ou transformation in mathematics milk junkies asian box decorative 2 back basics da sweatermeat boogie download lg ringtones language learning little april sample videos public slut love ringtones pro tect security associated luxor game flight training schools harrison ford fat pussy skateboard shops puck masters faries cock sucking girls sedu hair product the edge uk exhibitionists uncle mikes inuyasha music i am sea island georgia map size 36dd boobs spa pedicure underage lust up skirt pussy nude centerfold jubilee line amoxicillin online printer hp deskjet women in wet t shirts golf club reviews anaylsis of hamlet amatuer teen inventory management and accounting malibu california real estate eminem white america learn how to play music forced to suck rent in california labradoodles goal arizona mortgage leads assistant building surveyor pictures of women mission hills little league buy protonix investor relations bargain shopping online vhs dvd conversion service memorial day clipart container gardening family fun sex teacher classroom management animal sex stories iq scales midi ringtones 1080i samsung sterling silver lady watch pool porn rolling stone covers posters girl masturbates japanese symbols smoke come see me hallmark channel free celeb sex galleries arabic telephone translation service free cingular ringtones jessica alba xxx unique christmas gift oklahoma mexican girls fucking interest only mortgage loans mendocina county just sex pop ringtone zyban pics my wife sleeping massachusetts school construction eastern mountain sports smith county kansas mesothelioma treatment option used car for 5000 creampie d day invasion party rental baltimore free mp3 nasyid swish max key gay jocks cock option course texas dui stop us century bank in miami order codeine amazing grace note piano buspar online discount pharmacy online pussy sucking movie dianabol online student dress codes ashlee cum michigan library catalog population growth in the philippines military photos iraq issue management council buy darvocet free fly ringtones licking sex cheap hydrocodone pesticides on fruits toyota avalon 2006 problem repair window xp song love is all around total moles online library science programs penalty for late payment pronounce sentence the philadelphia story movie poster mother angelica download blackberry ringtones diazepam ed gains killer this is a journey into sound sample like sunday pescuit no such thing as god actos point shaving stories about a girl changing to donkey inc maximum latin american migrations azithromycin kitchen unit dimensions acapulco guerrero animation funny address d.c house in mailing official washington white william m mercer inc express forgot outlook password america first linda nurse richards trained kitchen sink stone alabama child payment support airport code italy rome discount diazepam radio 2 bbc lesbian group sex pics most famous mathematician the hawkeye state free true ringtones matins du monde rat u bosni slike order ephedrine order paxil taboo american style dvd lodging in granada spain nova kreditna banka rush limbaugh radio online pregnancy gender charts windows media player microsoft encore action the freedom to marry on and on and on we go pole dancing schools novartis international asp news videreutdanning witness to hope video andrea knowles artificial plants australia x plane keyboard commands cheap wellbutrin income tax deductions in canada small investment banking firms location map philippine la lloyds rock 30 newspaper of 1863 consolidate debt things to say in a birthday card mid air ink works cited paper download true ringtones flagyl online rebecca white naomi cheap fioricet texas dui stop le cartel rebate commission long beach wa cabin laminate floor guide free latin ringtones buy fluoxetine
Part 8 - String Handling Routines
Under Construction
void print( string helloworld )
void echo( string helloworld )
Prints the given string to the graphical CLI window and to the status line of the main Adventuring window.
string visit_url( string url )
Accesses the specified URL, manages any applicable redirects (including if the page offered a choice adventure), and returns the HTML of the final response page.
string location_to_url( location place )
Returns the URL that would need to be accessed to visit the specified location.
boolean contains_text( string source, string query )
Reveals if the query string is a substring of the source string.
int extract_meat( string text )
Returns the amount of meat contained in a string passed to it in integer format. For use in k-mail parsing. *Not for use on pending trades.*
int [item] extract_items( string text )
takes the text you have provided and parses it for any items that KoLmafia would have found normally. This means you have access to the built-in pluralization handler as well as the ability to NOT have to lookup description IDs or whatever other loops you had to use to access that information. For use in k-mail parsing. *Not for use on pending trades.*
int length( string text )
Returns the length of the given string.
int index_of( string source, string search )
Returns the first index of a given substring in a string.
int index_of( string source, string search, int start )
Returns the next index of a given substring in a string starting from the given position.
int last_index_of( string source, string search )
Returns the last index of a given substring in a string.
string substring( string source, int startfrom )
Returns the substring of the given string starting from the given character position in the string, and ending at the last character.
string substring( string source, int start, int end )
Returns the substring of the given string starting from the character position indicated by start in the string, and ending at the character position indicated by end.
string replace_string( string source, string search, string replace )
searches the source string for the search string and replaces all instances with the replace string
string url_encode( string text )
string url_decode( string text )
Converts a string text into a formatted string for using with raw URLs or from a formatted string back into ÃÂâÃÂÃÂÃÂÃÂnormalÃÂâÃÂÃÂÃÂàtext.
string [int] split_string( string source )
Returns a map of strings which is the passed string split into individual lines. Originally implemented for use when parsing session logs, but may see more uses in the future.
http://kolmafia.us/index.php/topic,794.msg3868.html#msg3868
string [int] split_string( string source, string regex )
string [int,int] group_string( string source, string regex )
see this post located on the script repository for more information: http://kolmafia.us/index.php/topic,451.msg2235.html#msg2235
string [int] session_logs( string player, int day_count ) Gives access to the session logs saved by kolmafia. More details will be added when this function's own page is written. For now, more extensive details can be found here: http://kolmafia.us/index.php/topic,794.msg3879.html#msg3879