Search results

Jump to navigation Jump to search
  • EXAMPLE: string [int,int] test = group_string( "This is a test", "([a-z] ) " ); '''test''' Define the map with name '''test'''.
    8 KB (1,336 words) - 06:40, 7 May 2010
  • = Guide To Add New Functions To Wiki Via Script = == 1. Gather Ashref Functions ==
    10 KB (1,356 words) - 04:44, 29 April 2023
  • // as the test doesn't occur map[15]["test"] = true;
    10 KB (1,450 words) - 13:11, 6 March 2021
  • ...commands need to be listed on their category page as well as on the [[Ash Functions]] list. '''test CLI commands:'''
    19 KB (2,934 words) - 01:16, 25 May 2017
  • [[Category:Test Functions]]
    8 KB (920 words) - 11:47, 25 February 2010
  • ...tepadd++ (I favor having it on the wiki, so when it's updated with new ash functions, it's... you know, updated). I'll come up with other ideas, too, and leave ...I'm using it for initializing ASH scripts without creating any unnecessary functions or variables in the "namespace".
    4 KB (668 words) - 10:18, 6 November 2014
  • : E.g. {{Pspan|<.+>}} will match "This is a {{Pspan|<nowiki><b>test</b></nowiki>}}." instead of matching '''only''' the html tag as you might h : E.g. {{Pspan|<.+?>}} will match "This is a {{Pspan|<nowiki><b></nowiki>}}test<nowiki></b></nowiki>." so that you can pick out html tags.
    8 KB (1,281 words) - 21:48, 2 August 2011
  • ...ngs and buffers. However, you should test all such actions first, as a few functions require a specific datatype to be supplied as a parameter. (Most notably, t ([[Bounty#Related Functions|Related Functions]]) ([[Bounty#Proxy Record Fields|Proxy Record Fields]])
    16 KB (2,415 words) - 03:15, 2 March 2023
  • ...fied with [[replace_string|replace_string()]] or other string manipulation functions. * ASH string functions [[entity_encode|entity_encode()]] and [[entity_decode|entity_decode()]], fo
    16 KB (2,308 words) - 07:14, 13 March 2021
  • ...useful to those who have followed the included steps to make use of these functions; they are not built-in to KoLmafia. == String Functions ==
    40 KB (6,317 words) - 06:21, 28 July 2021
  • You can test the presence of a key in a map using the "contains" operator: ...as you don't leave the scope in which the record was declared), such as in functions and other records.
    21 KB (3,322 words) - 17:33, 27 February 2021
  • ...mbiguity. This also allows names with commas to be passed as parameters to functions that contain comma separated lists. To do this the item needs to be preface | test a line of ASH code without having to edit a script.
    28 KB (3,853 words) - 20:56, 12 August 2019