all about strings - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: all about strings (/thread-11636.html) |
all about strings - Giancarlo - 10-22-2018 07:06 PM Hello, pressing the softmenu Cmds/Strings menu when Programming, i can access only to string commands like: ASC LOWER STRINGFROMID ROTATE MID UPPER RIGHT INSTRING STRING EXPR DIM CHAR LEFT REPLACE I am missing, in the same menu the following commands to handle strings: SUPPRESS INSERT Are there other missing commands? Is it possible to insert them in the same menu in a new firmware release? thanks Giancarlo RE: all about strings - John Keith - 10-22-2018 09:02 PM I would guess that the latter two commands are not in the String menu because they also apply to lists and arrays. RE: all about strings - compsystems - 10-22-2018 09:46 PM SUPPRESS & INSERT should be included, operate on strings, although they can operate in other objects, should not be excluded. suppress Returns list or string without the element of index n; L1:=suppress(L1,n) or L1.suppress(n). suppress(Vect||Str,Intg(n)) although it is also necessary to clarify that it is affected by the reserved variable Index index:=1:; suppress("-x^3",1) returns "Done","x^3" index:=0:; suppress("-x^3",1) returns "Done","-^3" index:=0; [enter] s1:="-x^3"; s1. suppress(0); s1.suppress(0) => "[] index start 0","-x^3","x^3","^3" // ok bug up up copy equal(s1,"-x^3"), s1.(suppress(0)), s1.(suppress(0)) => equal("^3","-x^3"),"3","" RE: all about strings - Giancarlo - 10-24-2018 08:17 PM Hello, i think you are right. These two commands are not limited to strings hence they can be inserted in other menu like the list commands. However i was thinking if there were other commands to handle strings… thanks Giancarlo RE: all about strings - sasa - 10-24-2018 08:31 PM I have found few days ago Xcas documentation on English, however seems that now site is unavailable... https://www-fourier.ujf-grenoble.fr/~parisse/giac/cascmd_en.pdf It is important that all is organized quite well, thus each group have list of related functions available in one place. Perhaps, the most of functions are in the Prime, even should be differences depending what is implemented from Xcas. RE: all about strings - rprosperi - 10-24-2018 10:09 PM (10-24-2018 08:31 PM)sasa Wrote: I have found few days ago Xcas documentation on English, however seems that now site is unavailable... Confirmed, site is not working. Can you share the copy you got when you did reach the site? RE: all about strings - Joe Horn - 10-25-2018 02:09 AM (10-24-2018 10:09 PM)rprosperi Wrote:(10-24-2018 08:31 PM)sasa Wrote: I have found few days ago Xcas documentation on English, however seems that now site is unavailable... If it's the same version that was there 4.5 years ago (dated 2007), here's the copy that I downloaded at that time: http://holyjoe.net/Prime/cascmd_en.pdf If this is an obsolete version, please advise. RE: all about strings - rprosperi - 10-25-2018 03:07 AM (10-25-2018 02:09 AM)Joe Horn Wrote: If this is an obsolete version, please advise. I assumed this is a (hopefully much) more recent version, as the one Joe mentioned has been in circulation for years as noted. I did not notice the filename in the link was identical... RE: all about strings - sasa - 10-25-2018 05:04 AM (10-25-2018 03:07 AM)rprosperi Wrote: I did not notice the filename in the link was identical... Since filename do not specify date of revision, it could be newer... However it is not, this is version from 2007. RE: all about strings - dae - 08-23-2019 03:22 PM Updating this discussion Document specifically for HP Prime, translated from the French "Symbolic computation and Mathematics with the calculator HP Prime" (2013), which is a 513 page pdf file. Follow link to "Documentation" on this page https://www-fourier.ujf-grenoble.fr/~parisse/english.html under the HP Prime header RE: all about strings - Carlos295pz - 08-23-2019 07:28 PM I have not counted the new commands have been added or extended but are not yet in the help of the calculator or have not been relocated. I think only are two command. (01-31-2018 05:24 PM)Tim Wessman Wrote:Quote:HP Prime – Release Notes I just remembered that I still wait for the Date type within INPUT. |