diff options
author | Behrend Cornelius <bc@openoffice.org> | 2001-10-01 09:16:06 +0000 |
---|---|---|
committer | Behrend Cornelius <bc@openoffice.org> | 2001-10-01 09:16:06 +0000 |
commit | 0067e33ee9e2d5136958a118eee1ce212ff8ce7d (patch) | |
tree | 36627c3b5a16c049654fdd4a9d4626059a804c47 /wizards/source/tools/Strings.xba | |
parent | fce21e37ff27f6aede2e09da20d5f18fd03f26a2 (diff) |
#92590# Routines for Gimmicks macros added
Diffstat (limited to 'wizards/source/tools/Strings.xba')
-rw-r--r-- | wizards/source/tools/Strings.xba | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/wizards/source/tools/Strings.xba b/wizards/source/tools/Strings.xba index c1ab298bd677..9c46eb763c1c 100644 --- a/wizards/source/tools/Strings.xba +++ b/wizards/source/tools/Strings.xba @@ -285,41 +285,6 @@ Dim i%, OldReplLen%, BigLen% End Function -' Converts an "ordinary" path to a "URL-Path" -'Function ConverttoURL(ByVal BigString as String) as String -'Dim Separator as String -' If sProductname = "" Then -' sProductname = GetProductname() -' End If -' If BigString <> "" Then -' If IsFatOffice() Then -' Separator = GetPathSeparator() -' ' Is the delivered Path already a URL -' If Instr(1,UCase(BigString),"FILE:///") = 0 Then -' BigString = ReplaceString(BigString,"/",Separator) -' BigString = "file:///" & BigString -' End If -' End If -' ConvertToURL = BigString -' Else -' ConvertToUrl = "" -' End If -'End Function - - -' Converts an "URL-Path" to an ordinary "Path" -'Function ConvertfromURL(ByVal BigString as String) as String -'Dim Separator as String -' Separator = GetPathSeparator() -' If Left(Ucase(BigString),8)= "FILE:///" Then -' BigString = Mid(BigString, 9, Len(BigString)-8) -' BigString = ReplaceString(BigString,Separator,"/") -' BigString = ReplaceString(BigString,":","|") -' ConvertFromUrl = BigString -' End If -'End Function - - ' Retrieves the second value for a next to 'SearchString' in ' a two-dimensional string-Array Function FindSecondValue(SearchString as String, TwoDimList() as String ) as String @@ -353,7 +318,7 @@ End Function Function FileNameoutofPath(ByVal Path as String, Separator as String) as String Dim i as Integer Dim SepList() as String - SepList() = ArrayoutofString(Path,"/",i) + SepList() = ArrayoutofString(Path, Separator,i) FileNameoutofPath = SepList(i) End Function |