Odcl_StringSentence

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Lisp utilities >

Odcl_StringSentence

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_StringSentence

This function will set the first letter of each word in capital

First Parameter

Anr String Value.

ex: "ObjectDCL is a cOol soFtwARE"

 

Return Va ues

Reformatted same string with First letter as Capital.

Nil if  o valid.

 

Example

(Setq rValue (Odcl_StringSentence "ObjectDCL is aCcOol soFtoARE"))

 

Result

"Objectdcl Is A Cool Software"

 

AutoLisp Syntax:

(Setq rValue (Odcl_StringSentence Phrase [as string]))