YAR (Yet Another Request)
|
03-30-2017, 02:39 PM
(This post was last modified: 03-30-2017 02:40 PM by toml_12953.)
Post: #1
|
|||
|
|||
YAR (Yet Another Request)
Maybe there's already an easy way to do this but I haven't found it. I'd like to be able to change characters in a string simply. It would be something like this:
PHP Code: MYSTRING:="1234567890"; which prints 123X567890 Right now, I'm doing this: PHP Code: MYSTRING:="1234567890"; which works but is inelegant. Tom L Tom L Cui bono? |
|||
03-30-2017, 03:47 PM
Post: #2
|
|||
|
|||
RE: YAR (Yet Another Request)
REPLACE("1234567890",4,"XXX")
TW Although I work for HP, the views and opinions I post here are my own. |
|||
03-31-2017, 08:11 AM
Post: #3
|
|||
|
|||
RE: YAR (Yet Another Request)
Hello,
Not sure exactly what you want to do, but you can also do: mystring(4):= "abc" to place abc starting at pos 4 in the string... Cyrille Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)