Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
dskorren
Novice


Joined: 07 Feb 2002
Posts: 48
Location: Philippines

PostPosted: 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?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Nov 14, 2002 6:14 am   
 
Do it twice.
#say %replace(%replace("%-1",h,'), H, ')

LightBulb
Senior Member
Reply with quote
dskorren
Novice


Joined: 07 Feb 2002
Posts: 48
Location: Philippines

PostPosted: Thu Nov 14, 2002 6:26 am   
 
Thank you Lightbulb
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net