Lasso Soft Inc. > Home

[gf_lowalo]

Linkgf_lowalo
AuthorGaetano Frascolla
CategoryString
Version8.x
LicensePublic Domain
Posted29 Aug 2006
Updated29 Aug 2006
More by this author...

Description

Returns the first char of a text in uppercase

Sample Usage

gf_lowalo:$text;

example:

gf_lowalo:'EXAMPLE';

returns Example

gf_lowalo:'example';

returns Example

gf_lowalo:'exAmpLe';

returns Example



Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

define_tag:'gf_lowalo', -Required='String';

if:(#string)!='';

Variable: 'mytext' = String_LowerCase:(#string);
$mytext->(ToUpper: 1);
return: $mytext;

/if;


/define_tag;

Comments

No comments

Please log in to comment

Subscribe to the LassoTalk mail list

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft