Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-25-2005, 02:48 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
String

String to UPPER CASE.
String to lower case.

Fun.

str2low(string) -- returns string.
str2up(string) -- returns string.
__________________
In a world of change... Who'll you believe?
Reply With Quote
  #2  
Old 05-25-2005, 02:53 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Why make them global functions?

Should be a part of the string object.

string.lower()
string.upper()
Reply With Quote
  #3  
Old 05-25-2005, 02:53 AM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Or
NPC Code:

string.toupper()
string.tolower()


=)
But I agree, these should be added.
I like the 'to' in front.
__________________
Liek omigosh.

Reply With Quote
  #4  
Old 05-25-2005, 03:02 AM
Velox Cruentus Velox Cruentus is offline
Registered User
Velox Cruentus's Avatar
Join Date: Dec 2004
Location: Quebec, Canada
Posts: 465
Velox Cruentus is on a distinguished road
Send a message via ICQ to Velox Cruentus Send a message via AIM to Velox Cruentus
Because I just wanted to tell what should be added... Not do anything more. (And I was thinking of how to do it. It sucks that we can't have our own object functions we can make... Or can we?)
__________________
In a world of change... Who'll you believe?
Reply With Quote
  #5  
Old 05-25-2005, 03:58 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
...?

public function() {}

Unless you mean extending Graal types.
Reply With Quote
  #6  
Old 05-25-2005, 07:56 AM
Fry Fry is offline
Registered User
Fry's Avatar
Join Date: Sep 2001
Location: Germany
Posts: 384
Fry has a spectacular aura about
Quote:
Originally Posted by Rick
...?

public function() {}

Unless you mean extending Graal types.
Yes he probably meant that.
__________________
Graal Statistics

Top 3 servers at the moment (players):


Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:35 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.