Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
[Solved] Uppercase character control
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
NIL vs. Assign: when to u...
by
valdir.marcos
[
Today
at 06:22:05 pm]
lazarus in new england
by
valdir.marcos
[
Today
at 06:10:02 pm]
How many lines is too man...
by
Martin_fr
[
Today
at 06:09:13 pm]
Qt6/Wayland clipboard: pa...
by
AlexTP
[
Today
at 05:18:57 pm]
Debian removes FPC/Lazaru...
by
Schmitty2005
[
Today
at 05:14:15 pm]
[SOLVED] ??? I don't even...
by
valdir.marcos
[
Today
at 04:55:16 pm]
Set horizontal scroll pos...
by
Hartmut
[
Today
at 04:45:56 pm]
Win 11, strange position ...
by
d7_2_laz
[
Today
at 03:45:56 pm]
Text Fill (Memo)
by
Sc0li0sis
[
Today
at 02:36:32 pm]
[Closed]Canvas.StretchDra...
by
jamie
[
Today
at 01:57:10 pm]
Update a table with an Au...
by
CraigC
[
Today
at 12:29:38 pm]
Amigo programming languag...
by
paxscript
[
Today
at 12:21:59 pm]
[SOLVED] The "dockedforme...
by
jamie
[
Today
at 10:50:42 am]
Lazarus Bugfix Release 4....
by
Ameta
[
Today
at 10:28:14 am]
The Case For Pascal, 55 Y...
by
valdir.marcos
[
Today
at 08:02:58 am]
Front-end framework
by
PierceNg
[
Today
at 05:46:34 am]
X11Libre, finally and for...
by
Fred vS
[
Today
at 03:37:59 am]
https://live.freepascal.o...
by
PierceNg
[
Today
at 03:04:22 am]
PasLLM - LLM Inference En...
by
valdir.marcos
[
Today
at 01:11:25 am]
Fast Canvas Library V1.05...
by
Gigatron
[
Today
at 01:09:53 am]
TDirectoryEdit with OnAft...
by
Bart
[
Today
at 01:04:32 am]
Problem wih reference to ...
by
PascalDragon
[
Today
at 12:09:44 am]
Benchmark test in nanosec...
by
PascalDragon
[March 07, 2026, 11:14:15 pm]
How to execute a procedur...
by
n7800
[March 07, 2026, 10:17:32 pm]
[SOLVED] Add Help to an A...
by
valdir.marcos
[March 07, 2026, 07:18:00 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] Uppercase character control (Read 871 times)
loaded
Hero Member
Posts: 878
[Solved] Uppercase character control
«
on:
March 02, 2022, 07:38:16 am »
Hi All
Is there a ready-made method to check that the string is all unicode capital letters?
Or should we create it ourselves?
«
Last Edit: March 02, 2022, 08:48:01 am by loaded
»
Logged
The more memory computers have, the less memory people seem to use. 😅
Zvoni
Hero Member
Posts: 3301
Re: Uppercase character control
«
Reply #1 on:
March 02, 2022, 08:21:09 am »
https://lazarus-ccr.sourceforge.io/docs/lazutils/lazutf8/utf8uppercase.html
Code: Pascal
[Select]
[+]
[-]
Uses
LazUTF8
;
Var
s
:
String
;
Begin
s
:
=
'SOME UNICODE STRING WITH ÄÄÖÖÜÜ'
;
If
s
=
UTF8UpperCase
(
s
,
'de'
)
Then
Writeln
(
'Yes'
)
;
End
;
«
Last Edit: March 02, 2022, 08:59:08 am by Zvoni
»
Logged
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad
loaded
Hero Member
Posts: 878
Re: Uppercase character control
«
Reply #2 on:
March 02, 2022, 08:47:46 am »
This is a very nice solution;
You saved me a lot of trouble, thank you very much Zvoni
Logged
The more memory computers have, the less memory people seem to use. 😅
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
[Solved] Uppercase character control
TinyPortal
© 2005-2018