String Manipulation
|
10-15-2023, 01:11 AM
(This post was last modified: 10-15-2023 01:39 AM by rickster.)
Post: #1
|
|||
|
|||
String Manipulation
I am running a virtual HP 48GX on Emu48: I'm trying to develop an FRP character generator.
I have strings like "ABC|BC|JKLMN|WXYZ". (Each capital letter represents a specification for a PC skill: we are to pick one group at random and give the PC those skills.) I need to delete the '|' bar and replace it with "\" \"", and wrap it in a list, so my object will read { "ABC" "BC" "JKLMN" "WXYZ" }. Now I can call DUP SIZE DIE GET on the list to get a random group... But I don't know how to insert that string in place of '|'. Any ideas? Would it be easier to just start with { "ABC" "BC" "JKLMN" "WXYZ" }? Charles? He was my grandfather. --Oh, *that* Charles. We share a common ancestor. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
String Manipulation - rickster - 10-15-2023 01:11 AM
RE: String Manipulation - John Keith - 10-15-2023, 12:33 PM
RE: String Manipulation - Giuseppe Donnini - 10-15-2023, 12:43 PM
|
User(s) browsing this thread: 1 Guest(s)