Select to view content in your preferred language

Insert a character into a field

2047
2
11-05-2012 06:35 AM
KevinLaughlin
Occasional Contributor
I'm not sure if this is the specific forum for this question, but here goes.

I need to insert a character into a string, specifically, " O" 7 characters into this string, for example:

P:\John\SEPTIC SYSTEM PERMITS  DATABASE\SEPTIC SYSTEM PERMIT SCANS\LAKE\HICKS_BEVERLY_MARION.pdf

I understand it would be some combination of left, right, mid, etc., but how do you declare (?) a variable number of characters for a   left/right function in field calculator.  I understand using Left([NEW_HYPERLINK], 7)&" O"& to do this first part, but how do I return a variable number characters for the remainder of the string?





Thanks,

Kevin
Tags (2)
0 Kudos
2 Replies
AnthonyGiles
Honored Contributor
You would want to use:

Right([fieldname],Len[fieldname] - 7)

Regards

Anthony
0 Kudos
AnthonyGiles
Honored Contributor
Kevin

You would want to use:

Right([fieldname],Len[fieldname] - 7)

Regards

Anthony
0 Kudos