TravisMath
03-18-2005, 10:20 PM
Is there a way to get only part of an input value?
For example I have a file input and I need to only get the last part of it.
For example if they enter:
C:\Documents and Settings\Mike McDonald\My Documents\My Pictures\708d8b3face5f11b2acd82f5f6bbbd7e5295815.JPG
can I have the variable set to the thing after the last "\" mark. For instance in the above file place. could I have the variable set to 708d8b3face5f11b2acd82f5f6bbbd7e5295815.JPG
If so could you provide me with a code or a place to search for a code like this.
Thank You Very Much!
For example I have a file input and I need to only get the last part of it.
For example if they enter:
C:\Documents and Settings\Mike McDonald\My Documents\My Pictures\708d8b3face5f11b2acd82f5f6bbbd7e5295815.JPG
can I have the variable set to the thing after the last "\" mark. For instance in the above file place. could I have the variable set to 708d8b3face5f11b2acd82f5f6bbbd7e5295815.JPG
If so could you provide me with a code or a place to search for a code like this.
Thank You Very Much!