normal-case-generator
v1.0.1
Published
This file helps generate capitalized starting letters of text
Readme
��#� �n�o�r�m�a�l�-�c�a�s�e�-�g�e�n�e�r�a�t�o�r�
�
�
�
�#� �D�e�s�c�r�i�p�t�i�o�n�
�
�
�
�T�h�i�s� �p�a�c�k�a�g�e� �i�s� �u�s�e�d� �t�o� �h�e�l�p� �c�a�p�i�t�a�l�i�z�e� �s�e�l�e�c�t� �p�a�r�t�s� �o�f� �a� �s�t�r�i�n�g�,� �t�h�e� �f�i�r�s�t� �l�e�t�t�e�r� �o�f� �a� �s�t�r�i�n�g� �o�r� �a�l�l� �f�i�r�s�t� �l�e�t�t�e�r�s� �i�n� �t�h�e� �s�t�r�i�n�g�
�
�
�
�#� �U�s�a�g�e�
�
�
�
����j�s�
�
�i�m�p�o�r�t� �n�o�r�m�a�l�C�a�s�e�G�e�n�e�r�a�t�o�r� �f�r�o�m� �'�n�o�r�m�a�l�-�c�a�s�e�-�g�e�n�e�r�a�t�o�r�'�
�
�
�
�c�o�n�s�t� �o�u�t�p�u�t� �=� �n�o�r�m�a�l�C�a�s�e�G�e�n�e�r�a�t�o�r�(�v�a�l�u�e�,� �o�p�t�i�o�n�s�)�
�
�
�
�o�u�t�p�u�t�:� �T�h�i�s� �c�o�n�t�a�i�n�s� �t�h�e� �r�e�t�u�r�n�e�d� �t�e�x�t� �v�a�l�u�e� �b�a�s�e�d� �o�n� �{�v�a�l�u�e�,� �o�p�t�i�o�n�s�}� �t�h�a�t� �a�r�e� �p�a�s�s�e�d� �i�n�t�o� �t�h�e� �n�o�r�m�a�l�C�a�s�e�G�e�n�e�r�a�t�o�r� �f�n�
�
�
�
�v�a�l�u�e�*� �-� �r�e�q�u�i�r�e�d� �|� �s�t�r�i�n�g�
�
�o�p�t�i�o�n�s�*� �-� �o�p�t�i�o�n�a�l� �|� �{�
�
� � � � �f�i�l�t�e�r�:� �'�f�i�r�s�t�'� �o�r� �'�a�l�l�'� �o�r� �'�s�i�n�g�l�e�'�,�
�
� � � � �t�e�x�t�T�o�C�a�p�i�t�a�l�i�z�e�:� �r�e�q�u�i�r�e�d� �w�h�e�n� �f�i�l�t�e�r� �=�=�=� �'�s�i�n�g�l�e�'�
�
�}�
�
�
�
����
�
�
�
�#� �C�o�d�e� �D�e�m�o�n�s�t�r�a�t�i�o�n�
�
�
�
����j�s� �l�i�v�e�=�t�r�u�e�
�
�/�/�w�i�t�h�o�u�t� �o�p�t�i�o�n�
�
�
�
�c�o�n�s�t� �o�u�t�p�u�t� �=� �n�o�r�m�a�l�C�a�s�e�G�e�n�e�r�a�t�o�r�(�'�t�h�i�s�'�)�;�
�
�
�
�c�o�n�s�o�l�e�.�l�o�g�(�o�u�t�p�u�t�)�;� �/�/� �O�u�t�p�u�t�s� �'�T�h�i�s�'�
�
�
�
�/�/�w�i�t�h� �o�p�t�i�o�n�
�
�
�
�c�o�n�s�t� �o�u�t�p�u�t� �=� �n�o�r�m�a�l�C�a�s�e�G�e�n�e�r�a�t�o�r�(�'�t�h�i�s� �i�s� �a� �t�e�s�t�'�,� �{�
�
� � �f�i�l�t�e�r�:� �'�a�l�l�'�,�
�
�}�)�;�
�
�
�
�c�o�n�s�o�l�e�.�l�o�g�(�o�u�t�p�u�t�)�;� �/�/� �O�u�t�p�u�t�s� �'�T�h�i�s� �I�s� �A� �T�e�s�t�'�
�
�
�
�/�/�w�i�t�h� �o�p�t�i�o�n�
�
�
�
�c�o�n�s�t� �o�u�t�p�u�t� �=� �n�o�r�m�a�l�C�a�s�e�G�e�n�e�r�a�t�o�r�(�'�t�h�i�s� �i�s� �a� �t�e�s�t�'�,� �{�
�
� � �f�i�l�t�e�r�:� �'�f�i�r�s�t�'�,�
�
�}�)�;�
�
�
�
�c�o�n�s�o�l�e�.�l�o�g�(�o�u�t�p�u�t�)�;� �/�/� �O�u�t�p�u�t�s� �'�T�h�i�s� �i�s� �a� �t�e�s�t�'�
�
�
�
�/�/�w�i�t�h� �o�p�t�i�o�n�
�
�
�
�c�o�n�s�t� �o�u�t�p�u�t� �=� �n�o�r�m�a�l�C�a�s�e�G�e�n�e�r�a�t�o�r�(�'�t�h�i�s� �i�s� �a� �t�e�s�t�'�,� �{�
�
� � �f�i�l�t�e�r�:� �'�s�i�n�g�l�e�'�,�
�
� � �t�e�x�t�T�o�C�a�p�i�t�a�l�i�z�e�:� �'�t�e�s�t�'�,�
�
�}�)�;�
�
�
�
�c�o�n�s�o�l�e�.�l�o�g�(�o�u�t�p�u�t�)�;� �/�/� �O�u�t�p�u�t�s� �'�t�h�i�s� �i�s� �a� �T�e�s�t�'�
�
����
�
�
�
�T�h�a�n�k� �y�o�u�
�
�
