Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WeGA-WebApp-lib
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
busoni-schriften
WeGA-WebApp-lib
Commits
99915923
Commit
99915923
authored
6 years ago
by
Christian Schaper
Browse files
Options
Downloads
Patches
Plain Diff
kein Leerzeichen bei Namensumkehrung, wenn am Ende ' d’'
parent
825181d8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xquery/str.xqm
+3
-2
3 additions, 2 deletions
xquery/str.xqm
with
3 additions
and
2 deletions
xquery/str.xqm
+
3
−
2
View file @
99915923
...
...
@@ -44,8 +44,9 @@ declare function str:join-path-elements($segs as xs:string*) as xs:string {
declare
function
str:printFornameSurname
(
$name
as
xs:string
?
)
as
xs:string
?
{
let
$clearName
:=
str:normalize-space
(
$name
)
return
if
(
functx:number-of-matches
(
$clearName
,
','
)
eq
1
)
then
normalize-space
(
string-join
(
reverse
(
tokenize
(
$clearName
,
','
))
,
' '
))
if
(
functx:number-of-matches
(
$clearName
,
','
)
eq
1
)
then
if
(
ends-with
(
$clearName
,
' d’'
))
then
normalize-space
(
string-join
(
reverse
(
tokenize
(
$clearName
,
','
))))
else
normalize-space
(
string-join
(
reverse
(
tokenize
(
$clearName
,
','
))
,
' '
))
else
$clearName
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment