Essensbestellungen -> Menüanzeige

This commit is contained in:
2024-06-11 16:13:28 +02:00
parent 978884cd2b
commit 6ae38089a2
4 changed files with 24 additions and 6 deletions

View File

@@ -1049,6 +1049,8 @@ Public Class frmEssensbestellungenAdministration
Private Function ReplaceFirst(text As String, search As String, replace As String, startIndex As Integer, EndIndex As Integer) As String
If startIndex + EndIndex > (text.Length - 1) Then Return text
Dim pos As Integer = text.IndexOf(search, startIndex, IIf(startIndex + EndIndex > text.Length - 1, text.Length - startIndex - 1, EndIndex))
If (pos < 0) Then Return text