Skip to main content
Participant
May 23, 2025
Question

ExtendScript string.trim()

  • May 23, 2025
  • 2 replies
  • 131 views

 

  • Title: "ExtendScript string.trim() unavailable in Photoshop 26.7.0 ARM64"
  • Details: Describe the issue (strings report typeof "string" but lack trim() method), include the script, and note the version (26.7.0 20250427.m.3057 e97cdb2 arm64).

 

2 replies

Legend
May 23, 2025

Please post a code snippet that fails.

Stephen Marsh
Community Expert
Community Expert
May 23, 2025

I can't confirm as I'm on Intel, looks like you're going to need to use a different form of string manipulation, i.e. .replace()