
Contributor III
2019-10-23
11:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Position of character in a string
Hi All,
I have an basic question.
I have text object with value as "ABCD%EFG%"
How can I go about finding the position of % and display in another text object?
Thanks,
John
10,376 Views
1 Solution
Accepted Solutions

MVP
2019-10-23
02:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this
=Concat(If(Index('ABCD%EFG%', '%', ValueLoop(1, 100)) > 0, Index('ABCD%EFG%', '%', ValueLoop(1, 100))), ', ')
6 Replies

MVP
2019-10-23
11:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this
=Index('ABCD%EFG%', '%')


Partner - Specialist III
2019-10-23
11:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10,366 Views

Contributor III
2019-10-23
01:52 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks
The first occurrence displays as 5 but it is not bringing the second occurrence.
10,341 Views

Contributor III
2019-10-23
01:56 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks
I used this expression and it returns 8. But I need the position 4 also.
How can I do that?
=FindOneOf('ABC#DEV#','#',2)
10,336 Views

MVP
2019-10-23
02:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this
=Concat(If(Index('ABCD%EFG%', '%', ValueLoop(1, 100)) > 0, Index('ABCD%EFG%', '%', ValueLoop(1, 100))), ', ')

Contributor III
2019-10-23
02:49 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wow. That's an awesome advanced expression and it works.
Thanks much Sunny!
10,315 Views
