Karim Belabas on Sat, 24 Jun 2023 12:00:21 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: New syntax of strslice


* hermann@stamm-wilbrandt.de [2023-06-23 10:57]:
> Just learned that "???pattern" gives help on "pattern".
> On 4th of 5 help pages for "???str" the available "str" prefixed commands
> are listed:
> 
> ...
> sin                sqr                strchr             strexpand
> strictargs         strictmatch        strjoin            strprintf
> strsplit           strtex             strtime            subgrouplist
> ...

Using command completion mechanism, str<TAB> should directly print out
the available "str" prefixed functions

? str<TAB>
strchr     strexpand  strjoin    strprintf  strsplit   strtex     strtime

Note that (for the same reason as above) ??str<TAB> prints out a few
more results, since completion takes context into account and will
return 'help keywords' as well as functions in 'help context'. In this
case, strictarg and strictmatch (both are 'defaults')

? default(str<TAB>             \\ 'defaults' context
strictargs   strictmatch  

Cheers,

    K.B.
-- 
Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
http://www.math.u-bordeaux.fr/~kbelabas/