|
dskorren Novice
Joined: 07 Feb 2002 Posts: 48 Location: Philippines
|
Posted: Thu Nov 14, 2002 5:12 am
%replace |
#say %replace("%-1",h,') works well on changing all occurence of h to ' but how do i make it change capital H to ' also?
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Nov 14, 2002 6:14 am |
Do it twice.
#say %replace(%replace("%-1",h,'), H, ')
LightBulb
Senior Member |
|
|
|
dskorren Novice
Joined: 07 Feb 2002 Posts: 48 Location: Philippines
|
Posted: Thu Nov 14, 2002 6:26 am |
Thank you Lightbulb
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Nov 14, 2002 11:17 pm |
quote:
Thank you Lightbulb
in some cases, a function like %upper() or %lower() might work as well.
li'l shmoe of Dragon's Gate MUD |
|
|
|
|
|