philmasterplus
Active member
Like this: boolean fuzzy_match( string match_from , string match_target )
Because right now I'm trying to do something like this:
I could implement it the way it was defined in StringUtilities.java, but it would take too long, ASH being an interpreted language run by a program written in another semi-interpreted language.
Because right now I'm trying to do something like this:
PHP:
string target = "underworld";
foreach it in $get_inventory[]
if ( it.to_string().fuzzy_match( target ) )
put_display( item_amount( it ) , it );
I could implement it the way it was defined in StringUtilities.java, but it would take too long, ASH being an interpreted language run by a program written in another semi-interpreted language.