Tags:
tag this topic
create new tag
view all tags
---+ .TEXT UNICODE COMP This subroutine compares 2 Unicode fields. Added in 6.0.0 <br />%TOC% ---++ Usage <pre> PASS <result> FIELD SHARE? Y PASS <first_string> FIELD SHARE? N PASS <second_string> FIELD SHARE? N GOSUB --- .TEXT UNICODE COMP * Check for errors IF --- .TEXT UNICODE COMP NE </pre> ---++ Description This subroutine will do a case insenstive comparison of two Unicode fields and return a result. All parameters are required. If any required parameters are missing, the subroutine will CANCEL. <result> is a numeric value returned. If a positive number, then <first_string> is greater than <second_string>, if negative then <second_string> is greater than <first_string> and if zero the strings are equal. The comparison is done using Unicode collating sequences. The larger (or smaller) the number, the greater the 'difference'. For example, comparing 'AAA' to 'BBB' results in -1, while comparing 'AAA' to 'zzz' results in -25. <first_string> is the first string to compare (Required). <second_string> is the second string to compare (Required). Note: This subroutine is designed to operate on Alpha, Text, and Token fields only. The returned results are undefined if you specify any other type of field. ---++ Comments <br />%COMMENT% -- %USERSIG{JeanNeron - 2017-11-02}%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r3 - 2023-04-10
-
BrianRyan
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback