[gf_lowalo]

Description

Link: [gf_lowalo]
Author: Gaetano Frascolla
Category: String
Version: 8.x
License: Public Domain
Posted: Aug. 29, 2006
Updated: Jan. 01, 0001
More by this author...
Returns the first char of a text in uppercase

Parameters

-string string, required

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.
1
2
3
4
5
6
7
8
9
10
11
12
define_tag:'gf_lowalo', -Required='String';

if:(#string)!='';

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

/if;


/define_tag;

 

Comments

none

Email:


Password:



Newest

Most Popular