CutRightString

Cuts a string from a string FROM RIGHT starting from specific character and until a specific character
FromChar is the char to cut from (not included)
ToChar is the char to stop cut to (after FromChar is found) (not included)
CurFrom is the string to cut from
If FromChar is not given or not found, it will be assumed as 1
If ToChar is not given or not found, it will be assumed as the length of the string
Similar to CutString, but search is done from right to left

CodeFunctionName
What is this?

Public

Tested

Original Work

Access is limited.

Login here using your Linkedin account. to see or download code.

No registration, not another password to remember, login using your Linkedin account and have access to all public codes in Mydev.net

Linkedin Login

CutFrom, Optional FromChar = "", Optional ToChar = ""

CutRightString("Hello-World-Cruel", "-") = "Cruel"
CutRightString("Hello-World-Cruel", "-","-") = "World"

Views 4,512

Downloads 1,389

CodeID
DB ID

ANmarAmdeen
671
Revisions

v2.0

Saturday
January
5
2019