Home · Tools · Implementations · Manage · Register · Tutorials · About |
| | | |
TextCasing
Endpoints
Contributed Clients What is this? Add / Edit / Delete Client No clients are currently listed Detailed Description Visual DataFlex (http://www.visualdataflex.com)
Visual DataFlex� is designed for developing database independent web
and Windows� applications - fast! The finely tuned interaction
between the components of the Visual DataFlex system eliminates a
huge amount of tedious and redundant custom coding. Developers
seeking to quickly create database applications have relied on
Visual DataFlex for years as their RAD tool of choice.
One of the primary goals of Web Service implementation in Visual
DataFlex was simplicity. A developer should be able to create and
use web services without needing to understand all of the underlying
complexities that make them work. If you can create a function, you
can create a web-service. If you can call a function, you can access
a web service.
Visual DataFlex provides support for both Server and Client side web
services. While this means that you can use the Visual DataFlex Web-
application server to create web services that can be accessed by
any Visual DataFlex windows application, it is important to
understand the use of web-services goes far beyond this capability.
On the server side, a Visual DataFlex web service can be accessed by
any application. On the client side, a Visual DataFlex application
can access any web-service.
TextCasing
TitleCaseWordsWithToken
Returns the passed text title cased and with the passed token
between each word.
InvertStringCase
Uppercase letters that are lowercase and lowercase letters that are
uppercase.
InvertCaseFirstAdjustStringToPrevious
Invert the casing of the first letter and adjust the string to
conform with the previous casing of first letter.
InvertCaseFirstAdjustStringToCurrent
Invert the casing of the first letter and adjust the string to
conform with the current casing of first letter.
AllUppercaseWithToken
Change string to uppercase adding token between characters.
AllLowercaseWithToken
Change string to lowercase adding token between characters.
UppercaseWordsWithToken
Change string to uppercase adding token between words.
LowercaseWordsWithToken
Change string to lowercase adding token between words.Usage Notes TitleCaseWordsWithToken
Call the function TitleCaseWordsWithToken passing a text and a token
as parameters. The function will return a string containing the
words from the text in title case with the token string between each
word.
Example:
string sMyText
get TitleCaseWordsWithToken "a Text to be forMatted" " * " to
sMyText // sMyText will contain "A * Text * To * Be * Formatted"
InvertStringCase
Call the function InvertStringCase passing the text as parameter.
The function will return a string containing the letters in the
string that were uppercase in lowercase and vice-versa.
Example:
string sMyText
get InvertStringCase "a Text to be forMatted" // sMyText will
contain "A tEXT TO BE FORmATTED"
InvertCaseFirstAdjustStringToPrevious
Call the function InvertCaseFirstAdjustStringToPrevious passing the
text as parameter. The function will return a string containing the
first letter of the words in the string uppercased, if they were
lowercase, with the rest of the text in lowercase -- and vice-versa.
Example:
string sMyText
get InvertCaseFirstAdjustStringToPrevious "a Text to be
forMatted" // sMyText will contain "A tEXT To Be Formatted"
InvertCaseFirstAdjustStringToCurrent
Call the function InvertCaseFirstAdjustStringToPrevious passing the
text as parameter. The function will return a string containing the
first letter in the string uppercased, if it was lowercase, with the
rest of the text in uppercase -- and vice-versa.
Example:
string sMyText
get InvertCaseFirstAdjustStringToCurrent "a Text to be forMatted" //
sMyText will contain "A text TO BE FORMATTED"
AllUppercaseWithToken
Call the function AllUppercaseWithToken passing the text and a token
as parameters. The function will return a string containing the text
with all letters in uppercase separated by the token.
Example:
string sMyText
get AllUppercaseWithToken "a Text to be forMatted" "_" // sMyText
will contain "_A_ _T_E_X_T_ _T_O_ _B_E_ _F_O_R_M_A_T_T_E_D_"
AllLowercaseWithToken
Call the function AllLowercaseWithToken passing the text and a token
as parameters. The function will return a string containing the text
with all letters in lowercase separated by the token.
Example:
string sMyText
get AllLowercaseWithToken "a Text to be forMatted" "_" // sMyText
will contain "_a_ _t_e_x_t_ _t_o_ _b_e_ _f_o_r_m_a_t_t_e_d_"
UppercaseWordsWithToken
Call the function UppercaseWordsWithToken passing the text and a
token as parameters. The function will return a string containing
the text with all letters in uppercase and the words separated by
the token.
Example:
string sMyText
get UppercaseWordsWithToken "a Text to be forMatted" "*" // sMyText
will contain "A *TEXT *TO *BE *FORMATTED"
LowercaseWordsWithToken
Call the function LowercaseWordsWithToken passing the text and a
token as parameters. The function will return a string containing
the text with all letters in lowercase and the words separated by
the token.
Example:
string sMyText
get LowercaseWordsWithToken "a Text to be forMatted" "*" // sMyText
will contain "a *text *to *be *formatted" |