tracker issue : CF-4163460

select a category, or use search below
(searches all categories and all time range)
Title:

Replace and ReplaceNoCase needs optional start from

| View in Tracker

Status/Resolution/Reason: To Test//Fixed

Reporter/Name(from Bugbase): / (Shawn Kallner)

Created: 06/12/2016

Components: Wishlist

Versions: 2016

Failure Type: Usability Issue

Found In Build/Fixed In Build: CF2016_Update1 /

Priority/Frequency: Major / All users will encounter

Locale/System: ALL / Windows 10 64 bit

Vote Count: 2

Find and FindNoCase both can operate from a starting point of a string, where as Replace and ReplaceNoCase offer no such option.

Replace and ReplaceNoCase needs an optional starting point param so it can work off the same code logic and Find and FindNoCase.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4163460

External Customer Info:
External Company:  
External Customer Name: Shawn Kallner
External Customer Email:

Attachments:

Comments:

Can you give a syntax example?
Comment by External U.
2431 | June 14, 2016 09:20:23 AM GMT
IF FindNoCase(word,content,startPosition) THEN ReplaceNoCase(content,wordToRemove,"","one",startPosition) I have a much more complex version of this, which I cannot post, but ultimately I end up having to track several positions and use temp vars because the ReplaceNoCase function is not capable of doing the same thing FindNoCase can.
Comment by External U.
2432 | June 14, 2016 03:07:23 PM GMT
Is this a common function on other languages such as Java?
Comment by External U.
2433 | June 18, 2016 11:55:25 PM GMT